mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 14:56:00 +08:00
fix:change azure openai api_version default value to 2024-02-15-preview (#2797)
This commit is contained in:
parent
870ca713df
commit
e5e97c0a0a
@ -14,7 +14,7 @@ from core.model_runtime.entities.model_entities import (
|
|||||||
PriceConfig,
|
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:
|
def _get_max_tokens(default: int, min_val: int, max_val: int) -> ParameterRule:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user