mirror of
https://github.com/open-webui/open-webui
synced 2025-01-29 13:58:09 +00:00
fix: litellm title generation issue
This commit is contained in:
parent
2fbb92aceb
commit
1371e66ed9
@ -781,7 +781,7 @@
|
|||||||
titleModelId,
|
titleModelId,
|
||||||
userPrompt,
|
userPrompt,
|
||||||
titleModel?.external ?? false
|
titleModel?.external ?? false
|
||||||
? titleModel.source === 'litellm'
|
? titleModel?.source?.toLowerCase() === 'litellm'
|
||||||
? `${LITELLM_API_BASE_URL}/v1`
|
? `${LITELLM_API_BASE_URL}/v1`
|
||||||
: `${OPENAI_API_BASE_URL}`
|
: `${OPENAI_API_BASE_URL}`
|
||||||
: `${OLLAMA_API_BASE_URL}/v1`
|
: `${OLLAMA_API_BASE_URL}/v1`
|
||||||
|
@ -795,7 +795,7 @@
|
|||||||
titleModelId,
|
titleModelId,
|
||||||
userPrompt,
|
userPrompt,
|
||||||
titleModel?.external ?? false
|
titleModel?.external ?? false
|
||||||
? titleModel.source === 'litellm'
|
? titleModel?.source?.toLowerCase() === 'litellm'
|
||||||
? `${LITELLM_API_BASE_URL}/v1`
|
? `${LITELLM_API_BASE_URL}/v1`
|
||||||
: `${OPENAI_API_BASE_URL}`
|
: `${OPENAI_API_BASE_URL}`
|
||||||
: `${OLLAMA_API_BASE_URL}/v1`
|
: `${OLLAMA_API_BASE_URL}/v1`
|
||||||
|
Loading…
Reference in New Issue
Block a user