From b9e252fe5a361db26fef8c37018b0d91bdc8d4b1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 27 Dec 2024 19:30:29 -0800 Subject: [PATCH] Update index.mdx --- docs/features/plugin/migration/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features/plugin/migration/index.mdx b/docs/features/plugin/migration/index.mdx index eca9784..f39a591 100644 --- a/docs/features/plugin/migration/index.mdx +++ b/docs/features/plugin/migration/index.mdx @@ -180,12 +180,12 @@ class ChatBotService: async def handle_request( self, - user_input: dict, + body: dict, __request__: Request, __task__=None, ) -> str: # Call the unified endpoint for chat completion - response = await chat_completion(__request__, user_input) + response = await chat_completion(__request__, body) return response ```