mirror of
https://github.com/open-webui/docs
synced 2025-05-20 03:08:56 +00:00
Update index.mdx
This commit is contained in:
parent
8e911816cb
commit
343b8c0066
@ -180,12 +180,12 @@ class ChatBotService:
|
|||||||
|
|
||||||
async def handle_request(
|
async def handle_request(
|
||||||
self,
|
self,
|
||||||
user_input: dict,
|
body: dict,
|
||||||
__request__: Request,
|
__request__: Request,
|
||||||
__task__=None,
|
__task__=None,
|
||||||
) -> str:
|
) -> str:
|
||||||
# Call the unified endpoint for chat completion
|
# Call the unified endpoint for chat completion
|
||||||
response = await chat_completion(__request__, user_input)
|
response = await chat_completion(__request__, body)
|
||||||
return response
|
return response
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user