Tim Baek
7a7a25766c
Merge pull request #21314 from open-webui/dev
...
0.8.0
v0.8.0
2026-02-12 17:42:25 -06:00
Timothy Jaeryang Baek
9fc1658085
refac
2026-02-12 17:42:15 -06:00
Timothy Jaeryang Baek
5297dceb2a
chore: format
2026-02-12 17:36:19 -06:00
Timothy Jaeryang Baek
59afbd6f92
refac
2026-02-12 17:35:22 -06:00
Timothy Jaeryang Baek
f7af3f010e
refac
2026-02-12 17:27:38 -06:00
Timothy Jaeryang Baek
bb40724d45
refac
2026-02-12 17:21:53 -06:00
Timothy Jaeryang Baek
0e64b31adb
refac
2026-02-12 17:17:45 -06:00
Timothy Jaeryang Baek
850a864b02
refac
2026-02-12 16:54:32 -06:00
Timothy Jaeryang Baek
9468d92553
refac
2026-02-12 16:44:08 -06:00
Timothy Jaeryang Baek
c3dc5d5984
refac
2026-02-12 16:41:57 -06:00
Timothy Jaeryang Baek
5291b3dca2
refac
2026-02-12 16:36:00 -06:00
Classic298
87d0c112fa
Update CHANGELOG.md ( #20594 )
...
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
* docs(changelog): update CHANGELOG.md for file upload settings fix
* docs: add RTL markdown table display fix to CHANGELOG
* changelog: add GPU usage fix for online status indicator
- Fixed high GPU usage (35-40% to near-zero) caused by animate-ping CSS
animation on the user online status indicator
Refs: #21062 , 938d1b0
* docs(changelog): add ANSI color code fix for code execution
- Fixed code execution reliability when LLMs include ANSI terminal
color codes in their output
- Prevents random syntax errors during code execution
- Related to issue #21091
* fix: restore tool call expand/collapse functionality
A refactor moved tool call display logic into a separate component but inadvertently disabled the collapsible behavior because tool calls store content in attributes rather than body text.
Fixes #21205
* changelog: fix malformed Authorization header crash in Fixed section
- Add entry for malformed Authorization header fix (issue #20938 )
The APIKeyRestrictionMiddleware now validates Authorization headers before
processing them, preventing ValueError and HTTP 500 errors.
* Add notification toast close button entry to CHANGELOG
* Update changelog date to 2026-02-07
* fix: respect ENABLE_OLLAMA_API and ENABLE_OPENAI_API flags when url_idx is provided
* Update CHANGELOG.md
* Add Latvian (lv-LV) language translation
* changelog: add relative time indicators for chat updates
* Update CHANGELOG.md
* changelog: add active chat tasks sidebar feature
* changelog: Update date to 2026-02-10 and fix tool call result decoding issue (#20600 )
* changelog: Consolidate Open Responses protocol commits
* changelog: Add Irish translations
* changelog: icons, dark-mode, display
* changelog: Fix dark mode icon display issue (#21272 )
* changelog: duplicate, icons, dark-mode
* changelog: access-control-ui, sharing-users, api-groups-users
* changelog: reorder access control entries for visibility
* changelog: move api entry down
* changelog: batch-file-ops, knowledge-base, performance
* changelog: add Gboard Android clipboard fix entry
* changelog: opensearch, knowledge-base, typefix
* changelog: add Gboard Android fix entry
* Update CHANGELOG.md
* changelog: expand user sharing entry
* changelog: remove emphasis word from user sharing
* changelog: reformulate user sharing entry per guidelines
* changelog: notifications, new-chat-fallback, device-scoped
* changelog: fix embeddings endpoint batch input for Ollama
* changelog: replace backticks with single quotes per style guidelines
* changelog: ssl-embeddings, aiohttp-session-ssl
* changelog: add Ollama auto-port fallback entry
* changelog: add independent access control endpoints and permission fixes
* changelog: consolidate access control entries and improve permission fix description
* changelog: model selector, virtual scrolling, performance
* changelog: update date to February 11, 2026
* changelog: pagination, model settings, admin
* changelog: add Skill standard feature entry
* changelog: add French to translations list
* changelog: action-html, iframe, rich-content
* changelog: tool call, html entities, multi-turn
* changelog: redis model cache, performance
* changelog: inline-images, context-window, fix-20916
* changelog: fix inline images context window exhaustion
* changelog: audio, timeout, api
* changelog: cache optimization, performance, ttft
* changelog: ldap, authentication, freeze
* changelog: async pipelines, event loop
* changelog: streaming, connection, cleanup
* changelog: add commits for Action Rich UI refactor and group performance
* changelog: model access control, batch queries, database optimization
* changelog: trusted-header, authentication, user-registration
* changelog: add pinned read-only models entry
* changelog: update date to February 12, 2026
* Update CHANGELOG.md
* Update CHANGELOG.md
* changelog: add issue #17058 to streaming response cleanup entry
* changelog: reorder Fixed section by importance priority
* Update CHANGELOG.md
* changelog: add warning about chat message table migration duration
* changelog: openai-api-router, model-cache-lookup, bugfix
* changelog: ollama-model-name-fix, provider-compatibility
* changelog: fix Ollama-compatible provider model name issue #21331
* changelog: OpenAI API endpoint detection fix
* changelog: model list and import performance optimization
* changelog: external tool event emitter message id support #21214
* changelog: fix large document upload worker timeout #21158
* changelog: fix RedisCluster task stopping
* changelog: add discussion link to #21158
* changelog: add commit c653e4ec to #21158 entry
* changelog: functions, chat_id, internal_tasks
* changelog: channel permissions security fix
---------
Co-authored-by: Classic298 <27028174+Classic298@users.noreply.github.com @>
2026-02-12 16:15:05 -06:00
Timothy Jaeryang Baek
2a11175f22
chore: format
2026-02-12 16:13:48 -06:00
Timothy Jaeryang Baek
3238d94a0e
refac
2026-02-12 15:57:27 -06:00
Timothy Jaeryang Baek
8919d8a82a
refac
2026-02-12 15:52:50 -06:00
Classic298
ea4ef28da5
init ( #20883 )
...
Co-authored-by: Tim Baek <tim@openwebui.com >
2026-02-12 15:50:13 -06:00
Timothy Jaeryang Baek
2ffd8d9277
refac
2026-02-12 15:40:13 -06:00
Classic298
e8499ccdd1
fix: pass chat_id to internal task calls for consistent function context ( #20585 )
...
Ensure chat_id is reliably passed to function pipelines/manifolds during internal task invocations (web search query generation, RAG query generation, image prompt generation).
This allows stateful functions to maintain per-chat state without fragmentation, as they will now receive a consistent chat_id for all chat-scoped invocations including internal tasks.
Backend changes:
- Pass chat_id in generate_queries call for web search
- Pass chat_id in generate_queries call for RAG/retrieval
- Pass chat_id in generate_image_prompt call
Frontend changes:
- Add optional chat_id parameter to generateQueries API function
- Add optional chat_id parameter to generateAutoCompletion API function
Fixes #20563
2026-02-12 15:36:42 -06:00
Timothy Jaeryang Baek
0dcbd05e24
refac
2026-02-12 15:29:34 -06:00
Timothy Jaeryang Baek
c653e4ec54
refac
2026-02-12 15:25:24 -06:00
Classic298
8cf32ae2a7
fix: prevent worker death during document upload by using run_coroutine_threadsafe ( #21158 )
...
* fix: prevent worker death during document upload by using run_coroutine_threadsafe
Replace asyncio.run() with asyncio.run_coroutine_threadsafe() in
save_docs_to_vector_db() to prevent uvicorn worker health check failures.
The issue: asyncio.run() creates a new event loop and blocks the thread
completely, preventing the worker from responding to health checks during
long-running embedding operations (>5 seconds default timeout).
The fix: Schedule the async embedding work on the main event loop using
run_coroutine_threadsafe(). This keeps the main loop responsive to health
check pings while the sync caller waits for the result.
Changes:
- main.py: Store main event loop reference in app.state.main_loop at startup
- retrieval.py: Use run_coroutine_threadsafe() instead of asyncio.run()
https://claude.ai/code/session_01UQSYvSTkXb57sFb7M85Kcw
* add env var
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-02-12 15:22:57 -06:00
Classic298
c6af296b60
add message id ( #21214 )
2026-02-12 15:04:27 -06:00
Timothy Jaeryang Baek
531ac70ce5
refac
2026-02-12 12:07:45 -06:00
Timothy Jaeryang Baek
423d8b1817
refac
2026-02-12 11:04:34 -06:00
EntropyYue
633505460a
i18n: improve zh-CN translation ( #21319 )
2026-02-12 11:02:41 -06:00
Aleix Dorca
c8bf390680
i18n: Update catalan translation ( #21320 )
...
* Update catalan translation.json type
* Update catalan translation.json
2026-02-12 11:02:25 -06:00
Classic298
da46c1bbd2
Update translation.json ( #21324 )
2026-02-12 11:02:10 -06:00
Timothy Jaeryang Baek
05ae44b98d
refac
2026-02-12 11:01:46 -06:00
Timothy Jaeryang Baek
a40808579f
refac
2026-02-12 10:59:41 -06:00
Timothy Jaeryang Baek
4d024c91d6
refac
2026-02-11 18:33:35 -06:00
Timothy Jaeryang Baek
ccb71a7322
refac
2026-02-11 18:32:14 -06:00
Classic298
efe5416f83
fix: reduce TTFT by caching model lookups in chat completion ( #20886 )
...
fix: reduce TTFT by caching model lookups in chat completion
Skip expensive get_all_models() calls when models are already cached
in app.state. This significantly reduces Time To First Token (TTFT)
for chat completions and embeddings requests.
Previously, every request called get_all_models() which fetches model
lists from all configured backends. Now we check the cache first and
only call get_all_models() on cache miss.
Affected endpoints:
- openai: generate_chat_completion, embeddings
- ollama: embed, embeddings
Fixes #20069
Co-authored-by: Michael <42099345+mickeytheseal@users.noreply.github.com >
2026-02-11 18:29:10 -06:00
Timothy Jaeryang Baek
a4281f6a7f
refac: ldap
2026-02-11 18:25:37 -06:00
Timothy Jaeryang Baek
2372b70031
refac: async pipelines requests
2026-02-11 18:24:30 -06:00
Classic298
d02e826c9d
Fix idle in transaction leaks in Open WebUI ( #20868 )
...
* fix: add ScopedSession.remove() to prevent idle transaction leaks
The HTTP middleware was calling ScopedSession.commit() but not
ScopedSession.remove(), causing database connections to remain
"checked out" from the pool indefinitely. This resulted in
"idle in transaction" connections in PostgreSQL that could persist
for 30-50+ minutes.
With SQLAlchemy's scoped_session:
- commit() commits but keeps the session active
- remove() is required to return the connection to the pool
This fix adds the missing remove() call, ensuring connections are
properly returned after each HTTP request.
Also includes IDLE_TRANSACTION_ANALYSIS.md documenting the full
root cause analysis and additional recommendations.
* Delete IDLE_TRANSACTION_ANALYSIS.md
---------
Co-authored-by: Claude <noreply@anthropic.com >
2026-02-11 18:20:03 -06:00
Timothy Jaeryang Baek
dddac2b0ca
refac
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com >
2026-02-11 18:19:01 -06:00
Timothy Jaeryang Baek
0da57149ae
refac
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com >
2026-02-11 18:13:30 -06:00
Classic298
0bebb260bf
fix: decode HTML entities in tool call results for multi-turn conversations ( #20755 )
2026-02-11 18:11:41 -06:00
Thomas Rehn
390d7663b0
fix: don't pollute model text context with encoded images ( #20916 )
2026-02-11 18:10:22 -06:00
Thomas Rehn
ce3a615442
perf: cache OpenAI config reads to avoid redundant Redis lookups in /api/models ( #21306 )
...
Each access to request.app.state.config.<KEY> triggers a synchronous
Redis GET. In get_all_models_responses() and get_merged_models(), the
config keys OPENAI_API_BASE_URLS, OPENAI_API_KEYS, and
OPENAI_API_CONFIGS were read on every loop iteration — resulting
in some cases in 200-300 Redis round-trips for OPENAI_API_BASE_URLS alone.
Read each config value once into a local variable at the start of the
function and reuse it throughout.
2026-02-11 17:59:50 -06:00
Timothy Jaeryang Baek
4e0cb88583
refac: audio timeout
...
Co-Authored-By: Jannik S. <jannik@streidl.dev >
2026-02-11 17:56:49 -06:00
Timothy Jaeryang Baek
9b30e8f689
refac
2026-02-11 17:53:01 -06:00
Timothy Jaeryang Baek
97331bf11d
refac
2026-02-11 17:26:25 -06:00
Timothy Jaeryang Baek
96c07f44a8
refac
2026-02-11 16:45:47 -06:00
Timothy Jaeryang Baek
60ada21c15
refac
2026-02-11 16:40:40 -06:00
Classic298
ab20745ee5
Enable Rich UI embed support for action functions ( #21294 )
...
Action functions can now return HTMLResponse objects or (html, headers)
tuples with Content-Disposition: inline to render rich UI iframes in
chat, matching the existing tool behavior.
https://claude.ai/code/session_01KCZKQXj1uqgPjqjMd4U2NF
Co-authored-by: Claude <noreply@anthropic.com >
2026-02-11 16:27:00 -06:00
Timothy Jaeryang Baek
f376d4f378
chore: format
2026-02-11 16:24:11 -06:00
Florian
89fddcc741
update french translation.json ( #21295 )
2026-02-11 16:22:55 -06:00
Timothy Jaeryang Baek
773787c74c
refac
2026-02-11 16:16:41 -06:00
Tim Baek
5c1c9a4dcb
Merge pull request #21312 from open-webui/skills
...
feat: skills
2026-02-11 16:01:08 -06:00