mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-16 08:04:10 +00:00
feat: support ollama now (close #870)
This commit is contained in:
@@ -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: '自定义渠道',
|
||||
|
@@ -166,6 +166,9 @@ const typeConfig = {
|
||||
29: {
|
||||
modelGroup: "groq",
|
||||
},
|
||||
30: {
|
||||
modelGroup: "ollama",
|
||||
},
|
||||
};
|
||||
|
||||
export { defaultConfig, typeConfig };
|
||||
|
Reference in New Issue
Block a user