🔖 chore: Azure OpenAI default API version set to 2024-05-01-preview

This commit is contained in:
ZeroDeng 2024-05-28 12:48:37 +08:00 committed by GitHub
parent 02a9087b9a
commit 853f2681f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ const EditModal = ({ open, channelId, onCancel, onOk, groupOptions }) => {
values.base_url = values.base_url.slice(0, values.base_url.length - 1); values.base_url = values.base_url.slice(0, values.base_url.length - 1);
} }
if (values.type === 3 && values.other === '') { if (values.type === 3 && values.other === '') {
values.other = '2023-09-01-preview'; values.other = '2024-05-01-preview';
} }
if (values.type === 18 && values.other === '') { if (values.type === 18 && values.other === '') {
values.other = 'v2.1'; values.other = 'v2.1';

View File

@ -68,7 +68,7 @@ const typeConfig = {
}, },
prompt: { prompt: {
base_url: '请填写AZURE_OPENAI_ENDPOINT', base_url: '请填写AZURE_OPENAI_ENDPOINT',
other: '请输入默认API版本例如2023-06-01-preview' other: '请输入默认API版本例如2024-05-01-preview'
} }
}, },
11: { 11: {