feat: add Baidu V2 channel support and improve model handling

This commit is contained in:
JustSong
2025-02-09 12:37:26 +08:00
parent 0b6d03d6c6
commit dd65b997dd
9 changed files with 83 additions and 2 deletions

View File

@@ -21,6 +21,13 @@ export const CHANNEL_OPTIONS = [
color: 'blue',
tip: '请前往<a href="https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application/v1" target="_blank">此处</a>获取 AKAPI Key以及 SKSecret Key',
},
{
key: 47,
text: '百度文心千帆 V2',
value: 47,
color: 'blue',
tip: '请前往<a href="https://console.bce.baidu.com/iam/#/iam/apikey/list" target="_blank">此处</a>获取 API Key',
},
{key: 17, text: '阿里通义千问', value: 17, color: 'orange'},
{key: 18, text: '讯飞星火认知', value: 18, color: 'blue'},
{key: 16, text: '智谱 ChatGLM', value: 16, color: 'violet'},