fixing ITs
This commit is contained in:
parent
d971fe0df3
commit
d6ee17a7e6
|
|
@ -86,4 +86,19 @@ class AzureOpenAiChatModelIT extends AbstractChatModelIT {
|
|||
protected ChatRequestParameters saveTokens(ChatRequestParameters parameters) {
|
||||
return parameters; // Azure OpenAI does not support max_tokens any more, only max_completion_tokens
|
||||
}
|
||||
@Override
|
||||
@Disabled("Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.")
|
||||
protected void should_respect_common_parameters_wrapped_in_integration_specific_class_in_chat_request(ChatModel model) {}
|
||||
|
||||
@Override
|
||||
@Disabled("Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.")
|
||||
protected void should_respect_common_parameters_wrapped_in_integration_specific_class_in_default_model_parameters() {}
|
||||
|
||||
@Override
|
||||
@Disabled("Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.")
|
||||
protected void should_respect_maxOutputTokens_in_chat_request(ChatModel model) {}
|
||||
|
||||
@Override
|
||||
@Disabled("Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.")
|
||||
protected void should_respect_maxOutputTokens_in_default_model_parameters() {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,6 +136,14 @@ class AzureOpenAiStreamingChatModelIT extends AbstractStreamingChatModelIT {
|
|||
return parameters; // Azure OpenAI does not support max_tokens any more, only max_completion_tokens
|
||||
}
|
||||
|
||||
@Override
|
||||
@Disabled("Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.")
|
||||
protected void should_respect_common_parameters_wrapped_in_integration_specific_class_in_chat_request(StreamingChatModel model) {}
|
||||
|
||||
@Override
|
||||
@Disabled("Setting 'max_tokens' and 'max_completion_tokens' at the same time is not supported.")
|
||||
protected void should_respect_maxOutputTokens_in_chat_request(StreamingChatModel model) {}
|
||||
|
||||
@AfterEach
|
||||
void afterEach() throws InterruptedException {
|
||||
String ciDelaySeconds = System.getenv("CI_DELAY_SECONDS_AZURE_OPENAI");
|
||||
|
|
|
|||
Loading…
Reference in New Issue