mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 02:07:15 +00:00
Improves title and tag generation by using the max_tokens value from the model configuration when available, with a fallback to the previous default of 1000. This change is necessary for models like Gemini Pro that generate longer responses and require a higher token limit to successfully generate titles or tags. |
||
---|---|---|
.. | ||
data | ||
internal | ||
migrations | ||
models | ||
retrieval | ||
routers | ||
socket | ||
static | ||
storage | ||
test | ||
utils | ||
__init__.py | ||
alembic.ini | ||
config.py | ||
constants.py | ||
env.py | ||
functions.py | ||
main.py | ||
tasks.py |