mirror of
https://github.com/open-webui/docs
synced 2025-05-19 18:58:41 +00:00
Update index.mdx
This commit is contained in:
parent
385d38b6ce
commit
4a9b995851
@ -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