feat: support cohere (close #195)

This commit is contained in:
CaIon
2024-04-24 18:49:56 +08:00
parent 3f448ba4fc
commit bfcaccc2e3
11 changed files with 322 additions and 2 deletions

View File

@@ -50,6 +50,13 @@ export const CHANNEL_OPTIONS = [
color: 'orange',
label: 'Google Gemini',
},
{
key: 34,
text: 'Cohere',
value: 34,
color: 'purple',
label: 'Cohere',
},
{
key: 15,
text: '百度文心千帆',

View File

@@ -155,6 +155,16 @@ const EditChannel = (props) => {
'gemini-pro-vision',
];
break;
case 34:
localModels = [
'command-r',
'command-r-plus',
'command-light',
'command-light-nightly',
'command',
'command-nightly',
];
break;
case 25:
localModels = [
'moonshot-v1-8k',