Commit 1371e66e authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: litellm title generation issue

parent 2fbb92ac
......@@ -781,7 +781,7 @@
titleModelId,
userPrompt,
titleModel?.external ?? false
? titleModel.source === 'litellm'
? titleModel?.source?.toLowerCase() === 'litellm'
? `${LITELLM_API_BASE_URL}/v1`
: `${OPENAI_API_BASE_URL}`
: `${OLLAMA_API_BASE_URL}/v1`
......
......@@ -795,7 +795,7 @@
titleModelId,
userPrompt,
titleModel?.external ?? false
? titleModel.source === 'litellm'
? titleModel?.source?.toLowerCase() === 'litellm'
? `${LITELLM_API_BASE_URL}/v1`
: `${OPENAI_API_BASE_URL}`
: `${OLLAMA_API_BASE_URL}/v1`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment