mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
fcaeb2f539
commit
e6e8978f78
1 changed files with 3 additions and 0 deletions
|
|
@ -157,6 +157,9 @@ async def generate_chat_completion(
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
chat_completion = generate_chat_completion
|
||||||
|
|
||||||
|
|
||||||
async def chat_completed(request: Request, form_data: dict, user: Any):
|
async def chat_completed(request: Request, form_data: dict, user: Any):
|
||||||
if not request.app.state.MODELS:
|
if not request.app.state.MODELS:
|
||||||
await get_all_models(request)
|
await get_all_models(request)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue