Skip to content

Commit

Permalink
fix: ollama model setting need a prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
lee88688 committed Nov 23, 2024
1 parent 71ea05c commit 5d6d1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/views/setting/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const settingMap: Record<string, SettingMapItem> = {
hasBaseUrl: false,
},
ollama: {
model: null,
model: (model) => `ollama/${model}`,
hasBaseUrl: true,
},
openrouter: {
Expand Down

0 comments on commit 5d6d1a2

Please sign in to comment.