mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
Update index.mdx
This commit is contained in:
parent
f57e409a60
commit
961e219096
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user