open-webui/backend/open_webui
Athanasios Oikonomou eabdd4a140 feat: read max_tokens from model config with fallback to 1000 for title and tag generation
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.
2025-05-18 22:45:33 +03:00
..
data
internal
migrations feat: notes 2025-05-03 18:16:32 +04:00
models fix: oauth 2025-05-05 19:38:36 +04:00
retrieval chore: format 2025-05-17 01:00:37 +04:00
routers feat: read max_tokens from model config with fallback to 1000 for title and tag generation 2025-05-18 22:45:33 +03:00
socket refac: socket 2025-05-09 14:23:16 +04:00
static
storage Update provider.py 2025-05-07 14:48:49 +02:00
test
utils Merge pull request #13972 from jarrod-lowe/otel-attrs 2025-05-17 21:54:56 +04:00
__init__.py
alembic.ini
config.py enh: ALLOWED_FILE_EXTENSIONS ui 2025-05-16 21:05:52 +04:00
constants.py
env.py enh: sentence transformers env vars 2025-04-24 01:55:18 +09:00
functions.py
main.py refac 2025-05-16 23:36:33 +04:00
tasks.py