mirror of
https://github.com/open-webui/open-webui
synced 2025-02-21 21:01:09 +00:00
refac
This commit is contained in:
parent
fcaeb2f539
commit
e6e8978f78
@ -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):
|
||||
if not request.app.state.MODELS:
|
||||
await get_all_models(request)
|
||||
|
Loading…
Reference in New Issue
Block a user