Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reenable OpenAI Remote Inference Tests #1127

Merged
merged 2 commits into from
Jul 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public void testDeployRemoteModel() throws IOException, InterruptedException {
waitForTask(taskId, MLTaskState.COMPLETED);
}

@Ignore
public void testPredictRemoteModel() throws IOException, InterruptedException {
Response response = createConnector(completionModelConnectorEntity);
Map responseMap = parseResponseToMap(response);
Expand Down Expand Up @@ -184,7 +183,6 @@ public void testUndeployRemoteModel() throws IOException, InterruptedException {
assertTrue(responseMap.toString().contains("undeployed"));
}

@Ignore
public void testOpenAIChatCompletionModel() throws IOException, InterruptedException {
String entity = "{\n"
+ " \"name\": \"OpenAI chat model Connector\",\n"
Expand Down Expand Up @@ -241,7 +239,6 @@ public void testOpenAIChatCompletionModel() throws IOException, InterruptedExcep
assertNotNull(responseMap);
}

@Ignore
public void testOpenAIEditsModel() throws IOException, InterruptedException {
String entity = "{\n"
+ " \"name\": \"OpenAI Edit model Connector\",\n"
Expand Down Expand Up @@ -307,7 +304,6 @@ public void testOpenAIEditsModel() throws IOException, InterruptedException {
assertFalse(((String) responseMap.get("text")).isEmpty());
}

@Ignore
public void testOpenAIModerationsModel() throws IOException, InterruptedException {
String entity = "{\n"
+ " \"name\": \"OpenAI moderations model Connector\",\n"
Expand Down