Commit graph

356 commits

Author SHA1 Message Date
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
Timothy Jaeryang Baek
9220afe7b3 feat: custom advanced params 2025-05-29 03:33:11 +04:00
Timothy Jaeryang Baek
bb4115fa0e refac: allow all params 2025-05-29 02:56:37 +04:00
Timothy Jaeryang Baek
5c74e56bd0 chore: format 2025-05-27 02:18:43 +04:00
cheadings71
d414662d23 fix: resolve chat engagement TypeError - Fix get_message_list() to return [] instead of None - Fix middleware to use correct metadata message_id - Add safe fallback for missing role field - Ensure assistant messages include role field 2025-05-26 14:35:09 -07:00
Timothy Jaeryang Baek
2d5b82df8c enh: include sources field in non-streaming response 2025-05-26 22:22:37 +04:00
Tim Jaeryang Baek
e663b90a9f
Merge pull request #14069 from Ithanil/bm25_weight
feat: Configurable weight for BM25Retriever during hybrid search
2025-05-24 01:13:03 +04:00
Timothy Jaeryang Baek
bf97dbe052 refac 2025-05-24 01:12:11 +04:00
Timothy Jaeryang Baek
80eaa24ca8 enh: provide source name in context if available 2025-05-24 00:52:09 +04:00
Timothy Jaeryang Baek
8b5e89eada chore: format 2025-05-24 00:43:38 +04:00
Jan Kessler
e70dd33233
rename BM25_WEIGHT -> HYBRID_BM25_WEIGHT 2025-05-23 22:06:44 +02:00
Diwakar Singh Maurya
549237fb05 Show tool call parameters along tool ouput 2025-05-23 17:42:05 +00:00
Timothy Jaeryang Baek
a2f12db8d9 refac: memories 2025-05-23 03:26:14 +04:00
Timothy Jaeryang Baek
a68ec8822a enh: filter md image for task generations 2025-05-23 01:33:08 +04:00
Timothy Jaeryang Baek
e3e7eb96f6 refac 2025-05-20 23:55:11 +04:00
Jan Kessler
308d8ac04a
make bm25_weight a regular parameter of query_doc.. / get_sources_from_files functions 2025-05-20 11:46:32 +02:00
Timothy Jaeryang Baek
1f38350128 feat: toggle filter middleware 2025-05-16 23:33:02 +04:00
Timothy Jaeryang Baek
7bbeaec93b revert 2025-05-16 22:43:42 +04:00
Timothy Jaeryang Baek
363ac35c09 refac 2025-05-16 22:17:47 +04:00
Tim Jaeryang Baek
50bc6d9b12
Merge pull request #13919 from dongfangzan/main
feat: add switching thinking/non-thinking modes to models
2025-05-16 22:08:04 +04:00
Timothy Jaeryang Baek
07b5e84221 refac 2025-05-16 21:29:50 +04:00
Timothy Jaeryang Baek
528a2cf96a refac 2025-05-16 18:19:28 +04:00
Timothy Jaeryang Baek
2aa5e73728 refac: filter details 2025-05-16 18:01:55 +04:00
Timothy Jaeryang Baek
dec9dd1ac0 refac: web search queries 2025-05-16 17:11:42 +04:00
dongfangzan
9b93b81f84 feat: add switching thinking/non-thinking modes to models 2025-05-15 19:56:10 +08:00
hwzhuhao
fb2950201a refactor: replace print statements with logging 2025-05-12 22:18:47 +08:00
Timothy Jaeryang Baek
34ec10a78c refac: web search performance
Co-Authored-By: Mabeck <64421281+mmabeck@users.noreply.github.com>
2025-05-10 17:54:41 +04:00
Alexander Grimm
a655bb5a63 skip checks in title gen 2025-05-08 06:55:43 +00:00
Alexander Grimm
cf5201aada remove files from message for tasks 2025-05-08 06:50:21 +00:00
Serkan Sakar
d62353c140 enh: add presence_penalty parameter to openai 2025-05-07 00:56:20 +02:00
Timothy Jaeryang Baek
c667d27c38 refac 2025-05-07 02:37:23 +04:00
Timothy Jaeryang Baek
512d475ecc refac: api usage 2025-05-05 17:43:51 +04:00
Tim Jaeryang Baek
11d599c55d
Merge pull request #13111 from tth37/perf_multi_thread_web_searching
perf: Concurrent processing for web search queries
2025-05-02 03:15:49 -07:00
Timothy Jaeryang Baek
6d81eef425 refac: reasoning detection 2025-05-02 14:04:12 +04:00
Timothy Jaeryang Baek
079af5fffe fix: send webhook notification when user is not active 2025-05-01 09:41:07 +04:00
tth37
cf2d7de873 refac: Implicit asyncio create_task 2025-04-29 00:20:55 +08:00
root
8a9de0a62f Fix bug that never triggers user notification webhooks 2025-04-27 21:31:34 +02:00
Timothy Jaeryang Baek
5030041683 chore: format 2025-04-23 16:05:15 +09:00
tth37
4b451b984b perf: Multi-thread web searching 2025-04-21 22:18:05 +08:00
izumi0004
99ce85f20f
fix: handling tool calls in streamed responses 2025-04-21 00:29:52 +08:00
tth37
79bde6fa47 fix: Align backend <source> tag indexing with frontend citation grouping 2025-04-17 22:27:22 +08:00
Timothy Jaeryang Baek
e4c7417522 refac 2025-04-14 02:12:58 -07:00
Timothy Jaeryang Baek
ec3b8fab5b refac 2025-04-14 01:08:16 -07:00
Timothy Jaeryang Baek
f3fe82da80 fix: ongoing chat stop issue 2025-04-12 20:51:02 -07:00
Timothy Jaeryang Baek
881d81d87f refac: default tool calling behaviour 2025-04-12 17:26:35 -07:00
Timothy Jaeryang Baek
1921420319 refac
Co-Authored-By: dulicon <57261058+dulicon@users.noreply.github.com>
2025-04-10 20:01:07 -07:00
Timothy Jaeryang Baek
f10566f3de feat: allow events from pipelines
Co-Authored-By: Anthony Durussel <87324020+anthonydurussel@users.noreply.github.com>
2025-04-10 09:20:18 -07:00
Alexander Grimm
1e7a36478b ~ update to latest change 2025-04-07 15:16:47 +02:00
Alexander Grimm
d8a7e9c660 fix: correct document citation 2025-04-07 15:16:47 +02:00
Timothy Jaeryang Baek
a8bc0d65a0 chore: format 2025-04-06 17:36:16 -07:00
Timothy Jaeryang Baek
9825d03602
Merge pull request #12507 from Ithanil/fix_web_result_collection_source_ids
fix: fix web results all getting the same source id when using embedding and retrieval
2025-04-06 15:43:21 -07:00
Timothy Jaeryang Baek
64a0b28dab refac 2025-04-06 15:23:40 -07:00
Timothy Jaeryang Baek
6751d68034
Merge pull request #12506 from Ithanil/fix_web_result_source_ids
fix: fix web results all getting the same source id when bypassing embedding and retrieval
2025-04-06 15:21:14 -07:00
Jan Kessler
4476060044
fix web results all getting the same source id when using embedding and retrieval 2025-04-06 15:51:05 +02:00
Jan Kessler
2729d8aab4
fix web results all getting the same source id when bypassing embedding and retrieval 2025-04-06 13:37:42 +02:00
Timothy Jaeryang Baek
807b208418 refac 2025-04-05 05:55:56 -06:00
Timothy Jaeryang Baek
56dc7c5640 refac 2025-04-05 05:38:46 -06:00
Timothy Jaeryang Baek
93bb77ede3 refac 2025-04-05 05:03:15 -06:00
Timothy Jaeryang Baek
c9e9ce931b refac 2025-04-05 04:49:07 -06:00
Timothy Jaeryang Baek
911321878f refac 2025-04-02 23:49:42 -07:00
Timothy Jaeryang Baek
faa68fcdaa enh: image tool response 2025-04-02 23:46:39 -07:00
Timothy Jaeryang Baek
c0711ba0c9 refac 2025-04-02 20:07:09 -07:00
Timothy Jaeryang Baek
5c5160c294 refac: remove None params 2025-04-02 19:56:39 -07:00
Timothy Jaeryang Baek
3dc40030a1
Merge pull request #12236 from Phlogi/fix_prefix
Fix middleware.py missing prefix on embedding function
2025-03-31 14:02:49 -07:00
Timothy Jaeryang Baek
fac848ad33 refac: rm log info 2025-03-31 14:00:40 -07:00
Phlogi
bc64b2a67f
Fix middleware.py missing prefix on embedding function 2025-03-31 15:19:07 +02:00
Timothy Jaeryang Baek
b5909ffe97 enh: tool args parse json fallback 2025-03-30 02:39:23 -07:00
Timothy Jaeryang Baek
215f991326 refac 2025-03-30 00:44:09 -07:00
Timothy Jaeryang Baek
af2c5f3a18 refac 2025-03-28 12:23:25 -07:00
Timothy Jaeryang Baek
115f34069a refac: tool call display 2025-03-28 12:18:27 -07:00
Timothy Jaeryang Baek
b8c1bb0ec5 refac 2025-03-28 02:30:13 -07:00
Timothy Jaeryang Baek
f8835d78d9 refac: tool call block display 2025-03-28 02:27:40 -07:00
Timothy Jaeryang Baek
fd9641dcd1 refac 2025-03-28 01:20:45 -07:00
Timothy Jaeryang Baek
5656f030c4 refac: error handling 2025-03-28 00:52:13 -07:00
Timothy Jaeryang Baek
2fc8ace46d fix: error message persistence issue 2025-03-28 00:25:00 -07:00
Timothy Jaeryang Baek
2070d1096b refac 2025-03-28 00:07:00 -07:00
Timothy Jaeryang Baek
038df1131e refac 2025-03-27 02:50:53 -07:00
Timothy Jaeryang Baek
d1bc2cfa2f refac: external tools server support 2025-03-27 02:27:56 -07:00
Timothy Jaeryang Baek
d9b6d78d5c feat: external tool server support frontend 2025-03-27 01:38:35 -07:00
Timothy Jaeryang Baek
9d834a8e90
Merge branch 'dev' into k_reranker 2025-03-26 20:50:31 -07:00
Timothy Jaeryang Baek
42636347e2 refac: start source citation from 1 2025-03-26 20:39:39 -07:00
Timothy Jaeryang Baek
5a7efad59c refac: tools 2025-03-26 00:40:24 -07:00
Timothy Jaeryang Baek
38d524f6a0 chore: format 2025-03-24 11:35:32 -07:00
Timothy Jaeryang Baek
a00e5a0c0e
Merge pull request #11988 from binxn/dev
Updated middleware.py to add OpenRouter compatibility
2025-03-23 11:48:21 -07:00
Timothy Jaeryang Baek
c714bd8739 refac 2025-03-23 11:45:55 -07:00
binxn
efd86e2cb4
Updated middleware.py to add OpenRouter compatibility 2025-03-23 17:14:20 +01:00
Peter De-Ath
7e3be60f0e formating 2025-03-07 20:37:22 +00:00
Peter De-Ath
3b39807377 fix: updatepost_response_handler nativ tools handler to use parameters from properties fixing defaults always used 2025-03-07 20:07:36 +00:00
Peter De-Ath
d862295a05 fix: update chat completion tools handler to use parameters from spec fixing defaults always used 2025-03-06 23:27:52 +00:00
Marko Henning
41a4cf7106 Added new k_reranker parameter 2025-03-06 10:47:57 +01:00
Timothy Jaeryang Baek
3b74431ea3 refac: filters 2025-03-04 18:04:55 -08:00
Timothy Jaeryang Baek
029625ec4e refac 2025-03-03 20:34:17 -08:00
CorbinChen
516f1cf67b feat: add support for reasoning_content 2025-03-03 16:47:35 +08:00
Timothy Jaeryang Baek
d7088efe73 fix: "stream" hook not working 2025-03-01 06:56:24 -08:00
dannyl1u
f4bd094128 Merge remote-tracking branch 'origin' into logit_bias 2025-02-27 23:48:22 -08:00
dannyl1u
90aa29528c logit_bias: handle comma seperated values 2025-02-27 23:13:30 -08:00
Timothy Jaeryang Baek
57010901e6 enh: bypass embedding and retrieval 2025-02-26 15:42:19 -08:00
Timothy Jaeryang Baek
3be5e3129b
Merge pull request #10752 from NovoNordisk-OpenSource/yvedeng/standardize-logging
refactor: replace print statements with logging
2025-02-25 10:53:02 -08:00
Yifang Deng
0e5d5ecb81
refactor: replace print statements with logging for better error tracking 2025-02-25 15:53:55 +01:00
Timothy Jaeryang Baek
7e2b2ec761 fix: openai usage display issue 2025-02-25 01:35:59 -08:00
Timothy Jaeryang Baek
b964b175d4 refac 2025-02-25 01:03:15 -08:00
Timothy Jaeryang Baek
46c4da4864 enh: "stream" hook 2025-02-25 01:00:29 -08:00
Bob McElrath
c4b441de65 Support thinking tags used by Openthinker 2025-02-21 09:12:34 -05:00
Timothy Jaeryang Baek
fe5c4b95d5 enh: configurable jupyter execution timeout 2025-02-19 17:05:37 -08:00
dannyl1u
8aa6415500 include logit_bias in form_data 2025-02-19 16:23:58 -08:00
Timothy Jaeryang Baek
9ca4727573 enh: web search behaviour 2025-02-18 21:29:27 -08:00
Timothy Jaeryang Baek
81715f6553 enh: RAG full context mode 2025-02-18 21:14:58 -08:00
Timothy Jaeryang Baek
1bbecd46c8
Merge pull request #10052 from roryeckel/playwright
Support Playwright RAG Web Loader: Revised
2025-02-18 19:57:48 -08:00
Timothy Jaeryang Baek
d0114e0703 fix: temp chat issue 2025-02-18 09:57:12 -08:00
Rory
10e0c81de9 Merge remote-tracking branch 'upstream/dev' into playwright
# Conflicts:
#	backend/open_webui/retrieval/web/utils.py
#	backend/open_webui/routers/retrieval.py
2025-02-17 21:53:39 -06:00
Timothy Jaeryang Baek
93731e4ca9 fix: temp chat message continue 2025-02-17 18:40:40 -08:00
Timothy Jaeryang Baek
ca0b7217d2 enh: full context web search 2025-02-17 18:14:26 -08:00
Timothy Jaeryang Baek
a5fa1cd835
Merge pull request #10209 from i-infra/iinf/fix-for-openrouter
[fix] no unambiguous indexing on "owned_by" - fix OpenRouter.ai
2025-02-17 15:24:21 -08:00
Timothy Jaeryang Baek
63cf80a456 refac 2025-02-16 00:11:18 -08:00
Timothy Jaeryang Baek
19c340d3fb refac: pipelines 2025-02-15 22:25:18 -08:00
Rory
66c2acc08d Merge branch 'dev' into playwright 2025-02-15 22:14:16 -06:00
Timothy Jaeryang Baek
bbda717b69 refac: citations 2025-02-15 17:24:29 -08:00
i-infra
fb12ee3f52 fix exception where openrouter doesn't populate - no longer index without fallback 2025-02-15 19:41:41 -05:00
Rory
4da220c513 Merge remote-tracking branch 'upstream/dev' into playwright
# Conflicts:
#	backend/open_webui/config.py
#	backend/open_webui/main.py
#	backend/open_webui/retrieval/web/utils.py
#	backend/open_webui/routers/retrieval.py
#	backend/open_webui/utils/middleware.py
#	pyproject.toml
2025-02-14 20:48:22 -06:00
Yimi81
ceef600223 support async load for websearch 2025-02-14 07:05:10 +00:00
Timothy Jaeryang Baek
e1435501aa fix 2025-02-13 15:17:41 -08:00
Timothy Jaeryang Baek
68519d6ca7 enh: multiple tool calls support 2025-02-13 14:50:46 -08:00
Samuel
e98f859a14 format 2025-02-13 12:19:24 +00:00
Samuel
86074cff6c fix: re-enable tool use when sending tool output 2025-02-13 12:18:21 +00:00
Timothy Jaeryang Baek
6acda2e6ec refac: code interpreter 2025-02-13 00:40:04 -08:00
Timothy Jaeryang Baek
a1dc2664c2 refac 2025-02-12 23:49:00 -08:00
Timothy Jaeryang Baek
83e5db7be7 refac 2025-02-12 23:26:47 -08:00
Timothy Jaeryang Baek
c83e68282d feat: direct connections integration 2025-02-12 22:56:33 -08:00
Rory
40d4db97e6 Merge remote-tracking branch 'upstream/dev' into playwright 2025-02-12 22:32:44 -06:00
Timothy Jaeryang Baek
f916fbba56 enh: custom code interpreter prompt 2025-02-11 21:36:16 -08:00
Timothy Jaeryang Baek
16bae8f33a refac 2025-02-10 13:53:16 -08:00
Timothy Jaeryang Baek
a273cba0fb refac: code intepreter 2025-02-10 13:12:05 -08:00
Timothy Jaeryang Baek
f9c5819314 enh: code interpreter jupyter support 2025-02-10 02:25:02 -08:00