diff --git a/web/src/views/Channel/component/EditModal.js b/web/src/views/Channel/component/EditModal.js index 82bc132c..d095d425 100644 --- a/web/src/views/Channel/component/EditModal.js +++ b/web/src/views/Channel/component/EditModal.js @@ -203,7 +203,7 @@ const EditModal = ({ open, channelId, onCancel, onOk, groupOptions }) => { values.base_url = values.base_url.slice(0, values.base_url.length - 1); } if (values.type === 3 && values.other === '') { - values.other = '2023-09-01-preview'; + values.other = '2024-05-01-preview'; } if (values.type === 18 && values.other === '') { values.other = 'v2.1'; diff --git a/web/src/views/Channel/type/Config.js b/web/src/views/Channel/type/Config.js index d02c1711..35d2c8df 100644 --- a/web/src/views/Channel/type/Config.js +++ b/web/src/views/Channel/type/Config.js @@ -68,7 +68,7 @@ const typeConfig = { }, prompt: { base_url: '请填写AZURE_OPENAI_ENDPOINT', - other: '请输入默认API版本,例如:2023-06-01-preview' + other: '请输入默认API版本,例如:2024-05-01-preview' } }, 11: {