Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

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

呆萌闷油瓶e5e97c0a0a9d
diff --git a/api/core/model_runtime/model_providers/azure_openai/_constant.py b/api/core/model_runtime/model_providers/azure_openai/_constant.py
index 9779fa71a0b..559442274e7 100644
--- a/api/core/model_runtime/model_providers/azure_openai/_constant.py
+++ b/api/core/model_runtime/model_providers/azure_openai/_constant.py
@@ -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: