mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
1) max_completion_tokens is being looked for in openai_payload, but would be located in openai_payload['options'], so is never found. (This applies to the prior two commits as well). 2) max_completion_tokens is not sent from the frontend, only max_tokens. It does not appear in AdvancedParams.svelte. 2b) Openai.py does use max_completion_tokens, but for o1,o3 models and converts it from max_tokens. |
||
|---|---|---|
| .. | ||
| images | ||
| access_control.py | ||
| auth.py | ||
| chat.py | ||
| code_interpreter.py | ||
| filter.py | ||
| middleware.py | ||
| misc.py | ||
| models.py | ||
| oauth.py | ||
| payload.py | ||
| pdf_generator.py | ||
| plugin.py | ||
| response.py | ||
| security_headers.py | ||
| task.py | ||
| tools.py | ||
| webhook.py | ||