mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
feat: unified chat completions endpoint
This commit is contained in:
@@ -1134,9 +1134,7 @@
|
||||
titleModelId,
|
||||
userPrompt,
|
||||
$chatId,
|
||||
titleModel?.owned_by === 'openai' ?? false
|
||||
? `${OPENAI_API_BASE_URL}`
|
||||
: `${OLLAMA_API_BASE_URL}/v1`
|
||||
`${WEBUI_BASE_URL}/api`
|
||||
);
|
||||
|
||||
return title;
|
||||
|
||||
Reference in New Issue
Block a user