feat: support ollama now (close #870)

This commit is contained in:
JustSong
2024-03-14 01:02:47 +08:00
parent 79d0cd378a
commit 2dcef85285
14 changed files with 313 additions and 1 deletions

View File

@@ -95,6 +95,12 @@ export const CHANNEL_OPTIONS = {
value: 29,
color: 'default'
},
30: {
key: 30,
text: 'Ollama',
value: 30,
color: 'default'
},
8: {
key: 8,
text: '自定义渠道',

View File

@@ -166,6 +166,9 @@ const typeConfig = {
29: {
modelGroup: "groq",
},
30: {
modelGroup: "ollama",
},
};
export { defaultConfig, typeConfig };