fix:change azure openai api_version default value to 2024-02-15-preview (#2797)

This commit is contained in:
呆萌闷油瓶 2024-03-12 22:07:06 +08:00 committed by GitHub
parent 870ca713df
commit e5e97c0a0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ from core.model_runtime.entities.model_entities import (
PriceConfig,
)
AZURE_OPENAI_API_VERSION = '2023-12-01-preview'
AZURE_OPENAI_API_VERSION = '2024-02-15-preview'
def _get_max_tokens(default: int, min_val: int, max_val: int) -> ParameterRule: