🔖 chore: Azure OpenAI default API version set to 2024-05-01-preview
This commit is contained in:
parent
02a9087b9a
commit
853f2681f4
@ -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';
|
||||||
|
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user