From d3c0d1956e5d50e0b21e810691397ae0ac3c9492 Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Mon, 8 Apr 2024 19:48:44 +0800 Subject: [PATCH 1/5] add ignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index c957d631743cab..9fd515790a5fed 100644 --- a/.gitignore +++ b/.gitignore @@ -156,3 +156,5 @@ sdks/python-client/dify_client.egg-info .vscode/* !.vscode/launch.json pyrightconfig.json +nohup.out +docker/volumes*/* From 9eed0481ead6aac2fc70588e64f27decff250e0d Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Tue, 9 Apr 2024 08:54:00 +0800 Subject: [PATCH 2/5] modify ignore --- .gitignore | 2 -- 1 file changed, 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9fd515790a5fed..c957d631743cab 100644 --- a/.gitignore +++ b/.gitignore @@ -156,5 +156,3 @@ sdks/python-client/dify_client.egg-info .vscode/* !.vscode/launch.json pyrightconfig.json -nohup.out -docker/volumes*/* From 02997874b45f8034ebeea264e0b9fedfb97a9a58 Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Thu, 12 Sep 2024 12:20:38 +0800 Subject: [PATCH 3/5] add new azure api version 2024-08-01-preview and 2024-07-01-preview --- .../model_providers/azure_openai/azure_openai.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml b/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml index 700935b07b0c01..ea838e1554de0b 100644 --- a/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml +++ b/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml @@ -51,8 +51,14 @@ model_credential_schema: zh_Hans: API 版本 en_US: API Version type: select - required: true + required: true options: + - label: + en_US: 2024-08-01-preview + value: 2024-08-01-preview + - label: + en_US: 2024-07-01-preview + value: 2024-07-01-preview - label: en_US: 2024-05-01-preview value: 2024-05-01-preview From 3cd78defafabf4c1a9b58fe1a3865dbe8e67c201 Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Thu, 12 Sep 2024 12:34:46 +0800 Subject: [PATCH 4/5] fix --- .../model_providers/azure_openai/azure_openai.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml b/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml index ea838e1554de0b..935a8f34692f62 100644 --- a/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml +++ b/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml @@ -51,7 +51,7 @@ model_credential_schema: zh_Hans: API 版本 en_US: API Version type: select - required: true + required: true options: - label: en_US: 2024-08-01-preview From 38f3bea8888f8bafec1a94ca0cbaae1d00475a34 Mon Sep 17 00:00:00 2001 From: leslie2046 <253605712@qq.com> Date: Thu, 12 Sep 2024 12:43:59 +0800 Subject: [PATCH 5/5] fix --- .../model_providers/azure_openai/azure_openai.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml b/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml index 935a8f34692f62..867f9fec420008 100644 --- a/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml +++ b/api/core/model_runtime/model_providers/azure_openai/azure_openai.yaml @@ -51,7 +51,7 @@ model_credential_schema: zh_Hans: API 版本 en_US: API Version type: select - required: true + required: true options: - label: en_US: 2024-08-01-preview