Commit Graph

581 Commits

Author SHA1 Message Date
tth37
79bde6fa47 fix: Align backend <source> tag indexing with frontend citation grouping 2025-04-17 22:27:22 +08:00
Thomas Rehn
3dcbf1acf5 feat: support OpenAPI parameter description and enum values in tool spec 2025-04-17 15:48:55 +02:00
Timothy Jaeryang Baek
e4c7417522 refac
Some checks are pending
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11.x) (push) Waiting to run
Python CI / Format Backend (3.12.x) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
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
daabc188e8 fix: model list hide issue 2025-04-12 18:34:10 -07:00
Timothy Jaeryang Baek
881d81d87f refac: default tool calling behaviour 2025-04-12 17:26:35 -07:00
Timothy Jaeryang Baek
91a455a284 chore: format 2025-04-12 16:35:11 -07:00
Tim Jaeryang Baek
02ba7aeb95
Merge pull request #12366 from Ithanil/redis_sentinel_2
chore: adapt websocket redis sentinel code to new native support in python-socketio
2025-04-12 11:41:30 -07:00
Timothy Jaeryang Baek
c846a550fa refac 2025-04-11 15:19:47 -07:00
Timothy Jaeryang Baek
6d63337ee9 refac 2025-04-10 21:22:14 -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
a47a958edd refac: rename functions 2025-04-10 19:43:26 -07:00
Timothy Jaeryang Baek
53df5d3946 refac: rename hard to understand cryptic function names 2025-04-10 19:41:17 -07:00
Timothy Jaeryang Baek
fb0ee1329d enh: tool server data timeout 2025-04-10 10:23:14 -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
Tim Jaeryang Baek
a3e477e100
Merge pull request #12602 from alpha-pet/fix-tool-server-indexing-mismatch
fix: mismatch between TOOL_SERVERS / TOOL_SERVER_CONNECTIONS indexing
2025-04-10 09:06:30 -07:00
Tim Jaeryang Baek
ef14d0b46d
Merge pull request #12562 from almajo/fix/agrimm/correct_knowledge_base_citations
fix: Correct Citations for knowledge base models
2025-04-10 08:48:47 -07:00
Thomas Rehn
81af20aa9b refac: use logging instead of print 2025-04-08 15:16:55 +02:00
Thomas Rehn
27e8c6fce4 feat: add support for OpenAPI spec in YAML format 2025-04-08 15:16:52 +02:00
Thomas Rehn
f5b2867e45 fix: mismatch between TOOL_SERVERS / TOOL_SERVER_CONNECTIONS indexing 2025-04-08 14:08:08 +02: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
9ea6cea0ba refac
Some checks are pending
Deploy to HuggingFace Spaces / check-secret (push) Waiting to run
Deploy to HuggingFace Spaces / deploy (push) Blocked by required conditions
Create and publish Docker images with specific build args / build-main-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-main-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-cuda-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/amd64) (push) Waiting to run
Create and publish Docker images with specific build args / build-ollama-image (linux/arm64) (push) Waiting to run
Create and publish Docker images with specific build args / merge-main-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-cuda-images (push) Blocked by required conditions
Create and publish Docker images with specific build args / merge-ollama-images (push) Blocked by required conditions
Python CI / Format Backend (3.11) (push) Waiting to run
Frontend Build / Format & Build Frontend (push) Waiting to run
Frontend Build / Frontend Unit Tests (push) Waiting to run
2025-04-05 14:31:22 -07:00
Timothy Jaeryang Baek
807b208418 refac 2025-04-05 05:55:56 -06:00
Timothy Jaeryang Baek
ae484e8edf refac 2025-04-05 05:45:32 -06:00
Timothy Jaeryang Baek
56dc7c5640 refac 2025-04-05 05:38:46 -06:00
Timothy Jaeryang Baek
e570a98bf7 refac: substandard codebase overhauled 2025-04-05 05:31:22 -06:00
Timothy Jaeryang Baek
93bb77ede3 refac 2025-04-05 05:03:15 -06:00
Timothy Jaeryang Baek
66db2e1515 refac: tools removed UNNECESSARY CODE 2025-04-05 04:59:11 -06:00
Timothy Jaeryang Baek
c9e9ce931b refac 2025-04-05 04:49:07 -06:00
Timothy Jaeryang Baek
9747a0e1f1 refac: tool servers 2025-04-05 04:40:01 -06:00
Timothy Jaeryang Baek
0c0505e1cd refac 2025-04-05 04:05:52 -06:00
Timothy Jaeryang Baek
4ad10f0c6e chore: format 2025-04-05 01:31:45 -06:00
Juan Calderon-Perez
1c57e3e02c
Fix API_KEY_ALLOWED_ENDPOINTS 2025-04-03 23:52:10 -04: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
Jan Kessler
257ca45456
leave out @ in redis+sentine url when no username/password is provided 2025-04-03 08:24:24 +02: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
7a1e10f3a7 refac: rm OAUTH_USE_PICTURE_CLAIM 2025-04-02 19:23:24 -07:00
Timothy Jaeryang Baek
506950b03a
Merge pull request #12376 from MushroomLamp-COB/main
feat: Add option to disable OAuth profile pictures
2025-04-02 19:16:36 -07:00
CityOfBunbury
548c7f17d7 Added OAUTH_USE_PICTURE_CLAIM env var
Added OAUTH_USE_PICTURE_CLAIM to config.py

Added check to oauth.py on OAUTH_USE_PICTURE_CLAIM, to decide whether to user the profile picture in the claim or the default user.png
2025-04-03 08:24:14 +08:00
Jan Kessler
35ea29b184
prepare websocket redis sentinel code for upcoming native support of sentinel in python-socketio 2025-04-02 21:50:00 +02:00
Silentoplayz
d65471c420 fix
my dev environment works again!
2025-04-02 11:28:45 -04:00
landerrosette
2b7dd6e399 refactor: standardize filter valve retrieval logic 2025-04-02 02:58:02 +08: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
1ac87c55ff chore: format 2025-03-28 11:47:14 -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
7fce3e2a9c
Merge pull request #11148 from Ithanil/redis_sentinel
feat: Support for Redis Sentinel
2025-03-27 20:36:53 -07:00
Timothy Jaeryang Baek
c137d3ad17 enh: allow json schema for format 2025-03-27 20:27:16 -07:00
Timothy Jaeryang Baek
5e720cd84b refac: ollama response_format support 2025-03-27 19:26:08 -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
Jan Kessler
0615c11a53
fix sentinel connection being attempted for non-sentinel redis 2025-03-27 10:23:35 +01:00
Timothy Jaeryang Baek
d9b6d78d5c feat: external tool server support frontend 2025-03-27 01:38:35 -07:00
Jan Kessler
d0b13cf388
prefix sentinel envs with redis_ 2025-03-27 09:22:11 +01: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
Timothy Jaeryang Baek
b609b9d297 chore: format 2025-03-18 06:39:42 -07:00
Jan Kessler
e68cd9b671
Redis Sentinel support for AppConfig 2025-03-18 09:30:18 +01:00
Jan Kessler
9167a8bef0
refac as prep for sentinel support in AppConfig 2025-03-18 08:44:50 +01:00
Timothy Jaeryang Baek
c8d02aafd9
Merge pull request #11697 from foraxe/fix-keep-alive-top-level
fix: Promote keep_alive to top-level in payload for Ollama API (dev branch)
2025-03-15 14:43:27 +00:00
foraxe
53448b3f0a Fix: Promote keep_alive to top-level in payload for Ollama API on dev branch 2025-03-15 00:08:05 +08:00
Nikes
b6664f5ae8 feat: pip options in tools/functions install requirements 2025-03-12 23:15:26 +02:00
Timothy Jaeryang Baek
c309412980 enh: connection tags 2025-03-11 20:37:30 +00:00
Timothy Jaeryang Baek
adfa67d9d2
Merge pull request #11507 from OrenZhang/feat_ot
feat(trace): opentelemetry instrument
2025-03-11 18:55:56 +00:00
Timothy Jaeryang Baek
396c28817c refac 2025-03-11 18:55:30 +00:00
Timothy Jaeryang Baek
9adc1ebcc8 refac 2025-03-11 18:38:13 +00:00
orenzhang
7bfda6652f
feat(trace): optimize for trace env and instrument hooks 2025-03-11 11:53:03 +08:00
orenzhang
c761e4fd08
feat(trace): opentelemetry instrument 2025-03-10 22:27:31 +08:00
Timothy Jaeryang Baek
116e0559f6 refac: oauth 2025-03-10 09:42:59 +00:00
Timothy Jaeryang Baek
0c5a1e84e3
Merge pull request #11472 from thiswillbeyourgithub/better_frontmatter_pip_install3
fix: install all the requirements at the same time
2025-03-09 20:57:06 -03:00
thiswillbeyourgithub
9e41b8b024 fix: install all the requirements at the same time
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
2025-03-09 23:38:23 +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
23bb0d927f chore: format 2025-03-05 18:10:24 -08:00
Timothy Jaeryang Baek
e2d60bd92e chore: format 2025-03-04 22:10:47 -08:00
Timothy Jaeryang Baek
7f7365db4f
Merge pull request #11132 from dongs0104/dev
fix: email claim constant
2025-03-04 21:39:28 -08:00
星海
3ee1ae8c95 refac: filters 2025-03-05 13:05:14 +08:00
星海
8ce6c8cf78 refac: filters 2025-03-05 13:00:45 +08:00
Timothy Jaeryang Baek
3b74431ea3 refac: filters 2025-03-04 18:04:55 -08:00
tidely
b15814c42f chore: remove unnecessary Path conversions
Remove unnecessary `pathlib.Path` conversions. (CACHE_DIR and DATA_DIR)

Use `/` Path joining shorthand to ensure using platform specific Path separators (Windows: \\, Unix: /)
2025-03-04 19:53:52 +02:00
Timothy Jaeryang Baek
36ffa9824b refac 2025-03-04 01:16:25 -08:00
Timothy Jaeryang Baek
a4747c88e0 refac 2025-03-04 00:33:19 -08:00
Timothy Jaeryang Baek
39ea59edc8 chore: format 2025-03-04 00:32:27 -08:00
Dong Shin
b8f3abda5a
fix: email claim constant 2025-03-04 15:50:04 +09:00
Timothy Jaeryang Baek
029625ec4e refac 2025-03-03 20:34:17 -08:00
Timothy Jaeryang Baek
e628bfe6ff fix 2025-03-03 20:16:40 -08:00
Timothy Jaeryang Baek
bb2bd7d721
Merge pull request #11120 from OrenZhang/fix_jupyter
fix(jupyter): fix kernel_id not set and optimize code
2025-03-03 20:15:09 -08:00
orenzhang
fafd847f18
refactor(jupyter): change log message for execution failed 2025-03-04 12:01:08 +08:00
orenzhang
3a7e5a5f31
feat(jupyter): check response status for destroy kernel 2025-03-04 12:00:04 +08:00
orenzhang
613d278afc
refactor(jupyter): change log level 2025-03-04 11:58:32 +08:00
orenzhang
96e0c4d7b8
refactor(jupyter): replace httpx with aiohttp 2025-03-04 11:56:11 +08:00
Timothy Jaeryang Baek
e6ff4169e1
Merge pull request #11066 from NibbinNone/dev
feat: add support for reasoning_content
2025-03-03 16:37:28 -08:00
MeteorSky
a01ef6cfa0 fix: allow error returns None 2025-03-04 00:08:49 +08:00
orenzhang
744ffbb1fb
fix(jupyter): fix kernel_id not set and optimize code 2025-03-03 22:18:02 +08:00
CorbinChen
516f1cf67b feat: add support for reasoning_content 2025-03-03 16:47:35 +08:00
Timothy Jaeryang Baek
efe8c4ca69 chore: format 2025-03-01 07:28:00 -08:00
Timothy Jaeryang Baek
d7088efe73 fix: "stream" hook not working 2025-03-01 06:56:24 -08:00
Timothy Jaeryang Baek
05c5e73304
Merge pull request #10373 from dannyl1u/logit_bias
feat: logit bias
2025-03-01 06:13:19 -08:00
amuwall
b430deab15 fix: fix typing error in args 2025-03-01 10:20:29 +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
fcbdfbd744 refac 2025-02-26 23:35:09 -08:00
Timothy Jaeryang Baek
76e90d9f3f
Merge pull request #10436 from victorstevansuse/feat/audits
feat: add audit logging feature
2025-02-26 23:15:10 -08:00
Timothy Jaeryang Baek
ddb30589e3 chore: format
HIDE MODELS
2025-02-26 22:18:18 -08:00
Timothy Jaeryang Baek
57010901e6 enh: bypass embedding and retrieval 2025-02-26 15:42:19 -08:00
Timothy Jaeryang Baek
674d6e08fc
Merge pull request #10809 from TobiasGoerke/feat/update_timestamp_asynchronously
feat: update get_current_user to refresh last active timestamp asynchronously
2025-02-26 02:38:06 -08:00
Tobias Goerke
76891f4760 feat: update get_current_user to refresh last active timestamp asynchronously 2025-02-26 10:53:47 +01: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
Timothy Jaeryang Baek
d8bc3098db
Merge pull request #9918 from df-cgdm/main
feat: Add  X-OpenWebUI when forwarding to ollama servers
2025-02-24 11:55:04 -08:00
Timothy Jaeryang Baek
50dec12072 refac 2025-02-21 22:15:22 -08:00
hopeless
7bfa29fa81
Update payload.py
Fixes ollama native tool calling because native tool calling content will be str '', and tool call processing will be completely ignored.
2025-02-22 12:13:14 +08:00
Timothy Jaeryang Baek
6623583004
Merge pull request #10549 from jeannotdamoiseaux/fix/oauth-groups-default-typeerror
Fix: Ensure `user_oauth_groups` defaults to an empty list to prevent TypeError
2025-02-21 13:37:35 -08:00
Jeannot Damoiseaux
d50098b622
Fix: Ensure user_oauth_groups defaults to an empty list to prevent TypeError
When the OAuth groups claim does not yield a list, `user_oauth_groups` was previously
set to None, causing a TypeError during membership checks. Changed this default to
an empty list (`[]`) to ensure the variable is always iterable, preventing errors
for non-admin users while logging in.

This fix ensures stability in the `update_user_groups` function.
2025-02-21 22:25:22 +01:00
Timothy Jaeryang Baek
086a78f863
Merge pull request #10521 from Seniorsimo/add-stop-parameter
**fix** Added support for stop parameter in OpenAI to Ollama conversion
2025-02-21 10:51:49 -08:00
Simone
fb3886cf04 Added support for stop parameter 2025-02-21 18:46:10 +01:00
Bob McElrath
c9079d4b4d
Merge branch 'open-webui:dev' into dev 2025-02-21 09:13:53 -05:00
Bob McElrath
c4b441de65 Support thinking tags used by Openthinker 2025-02-21 09:12:34 -05:00
Simone
a8859a8145 Fix on ollama to openai conversion - stream can return a single message with content 2025-02-20 21:25:32 +01:00
Victor Ribeiro
39c6ecb50d feat: add audit logger middleware and custom logger using loguru 2025-02-20 11:15:38 -03:00