Skip to content

Commit

Permalink
Revert "💄 默认关闭OLLAMA"
Browse files Browse the repository at this point in the history
This reverts commit 1361699.
  • Loading branch information
Yanyutin753 committed Aug 27, 2024
1 parent 7164365 commit 140f423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/llm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ export const getLLMConfig = () => {
AWS_ACCESS_KEY_ID: process.env.AWS_ACCESS_KEY_ID,
AWS_SECRET_ACCESS_KEY: process.env.AWS_SECRET_ACCESS_KEY,

ENABLED_OLLAMA: process.env.ENABLED_OLLAMA !== '0',
OLLAMA_PROXY_URL: process.env.OLLAMA_PROXY_URL || '',
ENABLED_OLLAMA: process.env.ENABLED_OLLAMA !== '0' && (process.env.OLLAMA_PROXY_URL || ''),
OLLAMA_MODEL_LIST: process.env.OLLAMA_MODEL_LIST,

ENABLED_QWEN: !!process.env.QWEN_API_KEY,
Expand Down

0 comments on commit 140f423

Please sign in to comment.