Skip to content

Commit

Permalink
skip unsupported tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Jul 25, 2024
1 parent e2cb9e8 commit 32051d5
Showing 1 changed file with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,21 +38,30 @@ class AzureChatOpenAIStandardIntegrationTests extends ChatModelIntegrationTests<
});
}

async testToolMessageHistoriesListContent() {
async testUsageMetadataStreaming() {
this.skipTestMessage(
"testToolMessageHistoriesListContent",
"testUsageMetadataStreaming",
"AzureChatOpenAI",
"Not properly implemented."
"Streaming tokens is not currently supported."
);
}

async testUsageMetadataStreaming() {
async testStreamTokensWithToolCalls() {
this.skipTestMessage(
"testUsageMetadataStreaming",
"testStreamTokensWithToolCalls",
"AzureChatOpenAI",
"Streaming tokens is not currently supported."
);
}

async testInvokeMoreComplexTools() {
this.skipTestMessage(
"testInvokeMoreComplexTools",
"AzureChatOpenAI",
"AzureChatOpenAI does not support tool schemas which contain object with unknown/any parameters." +
"AzureChatOpenAI only supports objects in schemas when the parameters are defined."
);
}
}

const testClass = new AzureChatOpenAIStandardIntegrationTests();
Expand Down

0 comments on commit 32051d5

Please sign in to comment.