瀏覽代碼

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

tags/0.5.10
呆萌闷油瓶 1 年之前
父節點
當前提交
e5e97c0a0a
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/core/model_runtime/model_providers/azure_openai/_constant.py

+ 1
- 1
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:

Loading…
取消
儲存