Files
open-webui-custom/backend/open_webui/utils
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
..
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:40:40 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2025-09-17 00:49:44 -05:00
2026-02-11 16:40:40 -06:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2026-01-28 01:18:39 +04:00
2025-12-29 00:21:18 +04:00
2026-02-06 03:23:37 +04:00
2026-02-11 16:24:11 -06:00
2026-02-11 18:19:01 -06:00
2026-02-11 16:24:11 -06:00
2026-01-01 14:01:18 +04:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2025-12-02 03:52:38 -05:00
2026-02-11 16:24:11 -06:00
2026-02-11 16:24:11 -06:00
2024-11-30 23:36:30 -08:00
2026-02-11 16:24:11 -06:00
2026-02-12 15:04:27 -06:00
2026-02-11 16:24:11 -06:00
2026-01-08 00:42:29 +04:00