Update index.mdx

This commit is contained in:
Timothy Jaeryang Baek 2024-12-27 19:30:29 -08:00
parent 8e911816cb
commit 343b8c0066

View File

@ -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
``` ```