Skip to content

Commit

Permalink
🐛 fix: custom model initialization not taking effect error (lobehub#4038
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Wxh16144 authored Sep 20, 2024
1 parent 2b8d36d commit 0e0d208
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/globalConfig/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export const getServerGlobalConfig = () => {
},
ollama: {
enabled: ENABLED_OLLAMA,
enabledModels: extractEnabledModels(OLLAMA_MODEL_LIST),
fetchOnClient: !OLLAMA_PROXY_URL,
serverModelCards: transformToChatModelCards({
defaultChatModels: OllamaProviderCard.chatModels,
Expand Down

0 comments on commit 0e0d208

Please sign in to comment.