Timothy Jaeryang Baek
742e2ff193
refac
2025-09-28 12:42:02 -05:00
Timothy Jaeryang Baek
97dae432ab
refac
2025-09-28 12:23:20 -05:00
Timothy Jaeryang Baek
db9d3d386d
refac: mcp spec/response handling
2025-09-28 12:22:11 -05:00
Timothy Jaeryang Baek
4997ef2662
refac
2025-09-26 15:57:03 -05:00
Timothy Jaeryang Baek
cda4c95c86
fix: default tool calling
2025-09-26 15:50:16 -05:00
Timothy Jaeryang Baek
680783266c
refac/fix: tool response header type check
2025-09-26 15:42:17 -05:00
Timothy Jaeryang Baek
2fa222d00a
refac
2025-09-25 15:20:13 -05:00
Tim Jaeryang Baek
cd417ca0ba
Merge pull request #17744 from Classic298/fix-rag-full-context
...
Fix: Prevent RAG queries when all files are in full context
2025-09-25 11:55:41 -05:00
google-labs-jules[bot]
4a7e1b93e5
Fix: Prevent RAG queries when all files are in full context
...
This commit fixes an issue where Retrieval-Augmented Generation (RAG)
queries were still being generated even when all attached files were set
to 'full context' mode. This was inefficient as the full content of the
files was already available to the model.
The `chat_completion_files_handler` in `backend/open_webui/utils/middleware.py`
has been updated to:
- Check if all attached files have the `context: 'full'` property.
- Skip the `generate_queries` step if all files are in full context mode.
- Pass a `full_context=True` flag to the `get_sources_from_items`
function to ensure it fetches the entire document content instead of
performing a vector search.
This change ensures that RAG queries are only generated when necessary,
improving the efficiency of the system.
2025-09-25 15:54:58 +00:00
Timothy Jaeryang Baek
77e971dd9f
feat: oauth2.1 mcp integration
2025-09-25 01:49:16 -05:00
Timothy Jaeryang Baek
f096e99059
refac: rag context handling
2025-09-24 09:38:14 -05:00
Timothy Jaeryang Baek
1c64269387
refac
2025-09-23 16:51:31 -05:00
Timothy Jaeryang Baek
c55afc4255
refac
2025-09-23 03:19:36 -04:00
Timothy Jaeryang Baek
f1bbf3a91e
refac
2025-09-23 03:05:38 -04:00
Timothy Jaeryang Baek
de7f7b3d85
refac
2025-09-23 02:40:59 -04:00
Timothy Jaeryang Baek
777e81f7a8
feat: experimental mcp support
2025-09-23 02:03:26 -04:00
Timothy Jaeryang Baek
60db9ec8ef
refac: built-in tools ui component support
2025-09-19 01:38:44 -05:00
Timothy Jaeryang Baek
e4c4ba0979
fix: oauth token
2025-09-19 00:10:48 -05:00
Timothy Jaeryang Baek
7be5b7f50f
refac
2025-09-18 22:03:14 -05:00
Timothy Jaeryang Baek
07c5b25bc8
feat: tool ui element support
2025-09-18 20:55:23 -05:00
Timothy Jaeryang Baek
0cfc8f5256
refac
2025-09-17 09:19:56 -05:00
Timothy Jaeryang Baek
c2f98a4cd2
refac: usage info
2025-09-16 10:28:25 -05:00
Timothy Jaeryang Baek
aa8ab349ed
feat: ref chat
2025-09-14 10:26:46 +02:00
Timothy Jaeryang Baek
6c0a5fa91c
refac
2025-09-11 21:56:59 +04:00
Timothy Jaeryang Baek
cf72f5503f
refac
2025-09-11 12:26:25 +04:00
Timothy Jaeryang Baek
b5bb6ae177
refac
2025-09-08 18:50:23 +04:00
Timothy Jaeryang Baek
f71834720e
refac
2025-09-08 18:35:09 +04:00
Timothy Jaeryang Baek
217f4daef0
feat: server-side OAuth token management system
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-09-08 18:05:43 +04:00
Timothy Jaeryang Baek
6dc0df2473
refac
2025-09-07 05:17:38 +04:00
Timothy Jaeryang Baek
3d37e4a42d
refac
2025-09-07 05:06:03 +04:00
Timothy Jaeryang Baek
1cdb7aed1e
refac/enh: status history
2025-09-07 04:21:46 +04:00
Timothy Jaeryang Baek
0a85dd4bca
refac: web search link display
2025-09-07 03:00:28 +04:00
Timothy Jaeryang Baek
1bc9711afd
refac
2025-09-05 17:28:05 +04:00
Timothy Jaeryang Baek
37bf0087e5
refac: tool message format
2025-09-03 13:57:14 +04:00
Timothy Jaeryang Baek
e830b4959e
enh: llama cpp timing stats
2025-09-01 22:49:49 +04:00
Timothy Jaeryang Baek
f56889c5c7
fix: fillter exception handling
2025-09-01 14:14:20 +04:00
Timothy Jaeryang Baek
e0ab5adb97
refac
2025-08-31 23:52:50 +04:00
Timothy Jaeryang Baek
e7c7c65227
refac/fix: error message
2025-08-28 02:35:29 +04:00
Timothy Jaeryang Baek
e39ce16a86
enh: custom reasoning tags
2025-08-27 17:24:16 +04:00
Timothy Jaeryang Baek
31485835a7
enh: query caching
...
Co-Authored-By: Jacob Leksan <63938553+jmleksan@users.noreply.github.com>
2025-08-27 03:07:21 +04:00
Timothy Jaeryang Baek
e4b6855984
enh: CHAT_RESPONSE_MAX_TOOL_CALL_RETRIES
2025-08-27 02:58:25 +04:00
Timothy Jaeryang Baek
43b2eca418
refac
2025-08-22 14:01:57 +04:00
Timothy Jaeryang Baek
094a16ab49
refac
2025-08-21 03:38:26 +04:00
Timothy Jaeryang Baek
d6f709574e
refac/enh: async process chat handling
2025-08-19 01:24:53 +04:00
Timothy Jaeryang Baek
f592748011
refac: tool server redis cache
2025-08-18 20:53:46 +04:00
Timothy Jaeryang Baek
d7363fd65f
fix: arena model selected model id
2025-08-17 04:55:45 +04:00
Timothy Jaeryang Baek
ccd2a0be5b
refac
2025-08-17 04:15:13 +04:00
Tim Jaeryang Baek
47560d4d72
Merge pull request #14703 from rragundez/code-interpreter-blacklist
...
feat: Blacklist modules from arbitrary code execution in code interpreter
2025-08-17 04:12:12 +04:00
Sihyeon Jang
3da22af859
fix(utils/middleware): flush pending chat deltas on stream termination
...
Guarantees the last partial delta chunk is emitted when the SSE stream closes (EOF, break, or `[DONE]` sentinel).
* Buffer `last_delta_data` and track `delta_count`
* Flush automatically once `delta_count >= chunk_size`
* Perform a final flush after the iterator ends
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-08-16 13:03:57 +09:00
Timothy Jaeryang Baek
f1c28455ad
refac: async webhook request
2025-08-15 00:07:02 +04:00
Timothy Jaeryang Baek
b43acc2b3d
refac/fix: tag attribute handling
2025-08-14 04:04:34 +04:00
Timothy Jaeryang Baek
3e8d3b08fa
refac
2025-08-14 04:04:20 +04:00
Timothy Jaeryang Baek
97448e25ec
fix: openai error handling
2025-08-11 17:00:06 +04:00
Timothy Jaeryang Baek
fbb8c111ed
refac
2025-08-11 00:39:12 +04:00
Timothy Jaeryang Baek
059cc636f6
fix: openai response propagation issue
2025-08-11 00:37:06 +04:00
Timothy Jaeryang Baek
4e9c75be50
enh: CHAT_RESPONSE_STREAM_DELTA_CHUNK_SIZE
2025-08-09 23:49:56 +04:00
Timothy Jaeryang Baek
1a93891d97
feat: stream delta chunk
...
Co-Authored-By: Jan Kessler <Ithanil@users.noreply.github.com>
2025-08-09 23:43:27 +04:00
Timothy Jaeryang Baek
2f349b5979
refac
2025-08-06 15:06:43 +04:00
Timothy Jaeryang Baek
f2cae3d0a7
refac
2025-08-06 15:02:39 +04:00
Timothy Jaeryang Baek
3a1bbcb12e
refac
2025-08-06 13:48:43 +04:00
Timothy Jaeryang Baek
2e36540023
refac: tag handling
2025-08-06 13:32:28 +04:00
Tim Jaeryang Baek
58dbd869ba
Merge pull request #16071 from GSAlex/main
...
fix: Render template variables in folder system prompts
2025-07-28 17:40:47 +04:00
Yang Yang
b52d28c94c
fix: Render template variables in folder system prompts
...
Fixes #16019
2025-07-27 23:20:43 +08:00
Timothy Jaeryang Baek
bf3c807047
refac
2025-07-22 11:38:47 +04:00
Timothy Jaeryang Baek
a638a187bb
refac
2025-07-19 19:32:52 +04:00
Timothy Jaeryang Baek
ea18ffdade
refac/fix
2025-07-19 12:17:35 +04:00
Timothy Jaeryang Baek
2fa8aff82f
refac/fix: tag handling
2025-07-18 11:56:40 +04:00
Timothy Jaeryang Baek
83c09f15ac
refac/enh: reasoning tag handling
2025-07-16 15:20:03 +04:00
Timothy Jaeryang Baek
abe280f0a3
refac/fix: reranking function
2025-07-16 13:56:02 +04:00
Timothy Jaeryang Baek
18bd83413b
refac
2025-07-14 14:05:06 +04:00
Timothy Jaeryang Baek
0013f5c1fc
refac/enh: forward user info header to reranker
2025-07-14 13:59:10 +04:00
Timothy Jaeryang Baek
80f3c97668
refac: folder chat handling
...
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2025-07-13 01:26:56 +04:00
Timothy Jaeryang Baek
0202926e35
refac
2025-07-11 18:09:24 +04:00
Timothy Jaeryang Baek
3b9d86de0b
refac
2025-07-11 12:00:21 +04:00
Tim Jaeryang Baek
9d8378d2e2
Merge pull request #15604 from EventHorizon-AI/fix/tool-results
...
fix: tool results
2025-07-09 12:45:10 +04:00
EntropyYue
5b8007fcb5
fix: tool result frontend
2025-07-09 15:01:19 +08:00
EntropyYue
dc0d420af5
fix: tool result
2025-07-09 14:40:53 +08:00
Timothy Jaeryang Baek
3a9d5b0494
refac
2025-07-07 23:51:01 +04:00
Timothy Jaeryang Baek
cfcfefb20c
refac: tools handling
2025-07-07 11:42:52 +04:00
Timothy Jaeryang Baek
8e95e5267c
refac
2025-06-25 13:36:41 +04:00
Timothy Jaeryang Baek
1f123eb100
refac
2025-06-25 12:20:08 +04:00
Timothy Jaeryang Baek
f4b92868c4
refac
2025-06-23 12:54:50 +04:00
Timothy Jaeryang Baek
ab877e1d7e
refac
2025-06-16 17:18:43 +04:00
Timothy Jaeryang Baek
6a5aac43df
refac
2025-06-16 15:29:40 +04:00
Tim Jaeryang Baek
d6664369a1
Merge pull request #14886 from Constantinople-AI/fix-no-arg-mcp-call
...
Isolated fix to single section
2025-06-16 15:28:48 +04:00
Timothy Jaeryang Baek
ea578af45f
refac: use first user message as title instead of 'new chat'
2025-06-16 12:37:41 +04:00
2underscores
88c8ea883c
Isolated fix to single section
2025-06-11 19:58:55 +10:00
Timothy Jaeryang Baek
b7a91b1963
refac: ollama response
2025-06-10 13:10:31 +04:00
Timothy Jaeryang Baek
8f68b25510
enh/refac: ollama advanced params
2025-06-10 12:48:34 +04:00
Timothy Jaeryang Baek
ea8dc333ee
refac/fix: multi-replica tasks
2025-06-09 17:21:10 +04:00
Timothy Jaeryang Baek
0c57980e72
refac: tasks
2025-06-08 20:58:31 +04:00
Rodrigo Agundez
41e28a9f6f
Use standardized procedure to save and load images
2025-06-08 16:26:58 +08:00
Rodrigo Agundez
bb09245792
Inject code to block imports from blacklisted modules
...
Co-authored-by: KG <kahghi@users.noreply.github.com>
2025-06-05 23:21:37 +08:00
Timothy Jaeryang Baek
bbafeca495
refac: reserved __user__ param format
2025-06-04 15:53:07 +04:00
Timothy Jaeryang Baek
d2b5a1614a
refac
2025-06-03 21:52:25 +04:00
Timothy Jaeryang Baek
185249623b
feat: follow ups backend integration
2025-06-03 18:47:49 +04:00
Timothy Jaeryang Baek
be989f3645
refac: better memory error handling
2025-05-30 00:12:28 +04:00
Timothy Jaeryang Baek
4c45d67677
refac/fix: memory
2025-05-30 00:10:52 +04:00
Timothy Jaeryang Baek
4371d2c5a5
enh: better custom param handling
2025-05-29 23:32:14 +04:00
Timothy Jaeryang Baek
d43bbcae28
refac/fix: open webui params handling
2025-05-29 12:57:58 +04:00