From 4a9b99585131898b6e669a77d949fc1ce5e8bc89 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 28 Dec 2024 16:31:57 -0800 Subject: [PATCH] Update index.mdx --- docs/features/plugin/migration/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/plugin/migration/index.mdx b/docs/features/plugin/migration/index.mdx index c1dc02e..02ea2e2 100644 --- a/docs/features/plugin/migration/index.mdx +++ b/docs/features/plugin/migration/index.mdx @@ -110,7 +110,7 @@ We’ve updated the **function signatures** to better fit the new architecture. #### Function Signature Changes: | **Old** | **New** | |-----------------------------------------|-----------------------------------------| -| `openai.generate_chat_completion(form_data: dict)` | `chat_completion(request: Request, form_data: dict)` | +| `openai.generate_chat_completion(form_data: dict, user: UserModel)` | `chat_completion(request: Request, form_data: dict, user: UserModel)` | #### Example: