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