Skip to content

Commit

Permalink
🐛 fix: fix enable ollama env
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed May 18, 2024
1 parent 80b908d commit 9c3f5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/server/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export const getProviderConfig = () => {
AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY || '',

ENABLE_OLLAMA: process.env.ENABLE_OLLAMA === '0',
ENABLE_OLLAMA: process.env.ENABLE_OLLAMA !== '0',
OLLAMA_PROXY_URL: process.env.OLLAMA_PROXY_URL || '',
OLLAMA_MODEL_LIST: process.env.OLLAMA_MODEL_LIST || process.env.OLLAMA_CUSTOM_MODELS,
};
Expand Down

0 comments on commit 9c3f5a8

Please sign in to comment.