Timothy Jaeryang Baek
40e40d1ddd
enh/sec: verify folder data integrity
...
#17182
2025-09-07 01:04:56 +04:00
Tim Jaeryang Baek
b70e910e4b
Merge pull request #17232 from open-webui/dependabot/pip/pip-83da9e8e4c
...
build(deps): bump the pip group across 2 directories with 2 updates
2025-09-07 00:00:14 +04:00
Timothy Jaeryang Baek
9aac148908
fix: knowledge update backend issue
2025-09-06 23:44:29 +04:00
dependabot[bot]
e114a40bb8
build(deps): bump the pip group across 2 directories with 2 updates
...
Bumps the pip group with 2 updates in the / directory: [langchain-community](https://github.com/langchain-ai/langchain ) and [pypdf](https://github.com/py-pdf/pypdf ).
Bumps the pip group with 2 updates in the /backend directory: [langchain-community](https://github.com/langchain-ai/langchain ) and [pypdf](https://github.com/py-pdf/pypdf ).
Updates `langchain-community` from 0.3.26 to 0.3.27
- [Release notes](https://github.com/langchain-ai/langchain/releases )
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.3.26...langchain==0.3.27 )
Updates `pypdf` from 4.3.1 to 6.0.0
- [Release notes](https://github.com/py-pdf/pypdf/releases )
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/py-pdf/pypdf/compare/4.3.1...6.0.0 )
Updates `langchain-community` from 0.3.26 to 0.3.27
- [Release notes](https://github.com/langchain-ai/langchain/releases )
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.3.26...langchain==0.3.27 )
Updates `pypdf` from 4.3.1 to 6.0.0
- [Release notes](https://github.com/py-pdf/pypdf/releases )
- [Changelog](https://github.com/py-pdf/pypdf/blob/main/CHANGELOG.md )
- [Commits](https://github.com/py-pdf/pypdf/compare/4.3.1...6.0.0 )
---
updated-dependencies:
- dependency-name: langchain-community
dependency-version: 0.3.27
dependency-type: direct:production
dependency-group: pip
- dependency-name: pypdf
dependency-version: 6.0.0
dependency-type: direct:production
dependency-group: pip
- dependency-name: langchain-community
dependency-version: 0.3.27
dependency-type: direct:production
dependency-group: pip
- dependency-name: pypdf
dependency-version: 6.0.0
dependency-type: direct:production
dependency-group: pip
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 15:50:11 +00:00
Timothy Jaeryang Baek
1bc9711afd
refac
2025-09-05 17:28:05 +04:00
Tim Jaeryang Baek
93132abb40
Merge pull request #17195 from ShirasawaSama/patch-14
...
fix: fix error when stopping non-existent task
2025-09-04 20:21:09 +04:00
Shirasawa
e5ea595425
fix: fix error when stopping non-existent task
2025-09-04 16:52:19 +08:00
Timothy Jaeryang Baek
b70c0f36c0
enh: emoji folder icon
2025-09-04 02:50:50 +04:00
Timothy Jaeryang Baek
df66e21472
enh: regex pattern support for groups
2025-09-03 18:50:02 +04:00
Tim Jaeryang Baek
048f30aa97
Merge pull request #17158 from sihyeonn/fix/sh-cache
...
perf: fix cache key generation for model list caching
2025-09-03 16:18:33 +04:00
Tim Jaeryang Baek
357a53eb6f
Merge pull request #17147 from anfuerer/dev
...
feat: Azure OpenAI image generation support
2025-09-03 14:12:48 +04:00
Timothy Jaeryang Baek
37bf0087e5
refac: tool message format
2025-09-03 13:57:14 +04:00
Tim Jaeryang Baek
e5829572ff
Merge pull request #17175 from garylab/bugfix/api-config
...
Bugfix: Add verify token from headers also for /api/config endpoint
2025-09-03 13:39:25 +04:00
Tim Jaeryang Baek
472b71f331
Merge pull request #17166 from sihyeonn/perf/sh-model-layer
...
perf: fix N+1 query issues in user group access control validation
2025-09-03 13:36:01 +04:00
Tim Jaeryang Baek
308f4d6b26
Merge pull request #17159 from sihyeonn/perf/sh-prompts
...
perf: fix N+1 query issue in get_prompts method
2025-09-03 13:26:29 +04:00
Gary Meng
2d62796616
Allow user get /api/config with auth header
2025-09-03 13:25:09 +04:00
Tim Jaeryang Baek
330bec67b7
Merge pull request #17162 from sihyeonn/perf/sh-tools
...
perf: fix N+1 query issue in get_tools method
2025-09-03 13:22:37 +04:00
Tim Jaeryang Baek
2890c6d62d
Merge pull request #17161 from sihyeonn/perf/sh-models
...
perf: fix N+1 query issue in get_models method
2025-09-03 13:22:27 +04:00
Tim Jaeryang Baek
9119db001d
Merge pull request #17160 from sihyeonn/perf/sh-knowledge-base
...
perf: fix N+1 query issue in get_knowledge_bases method
2025-09-03 13:22:19 +04:00
Sihyeon Jang
eff06538a6
perf: fix N+1 query issues in user group access control validation
...
- Pre-fetch user group IDs in get_*_by_user_id methods across models layer
- Pass user_group_ids to has_access to avoid repeated group queries
- Reduce query count from 1+N to 1+1 pattern for access control validation
- Apply consistent optimization across knowledge, models, notes, prompts, and tools
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:56:48 +09:00
Sihyeon Jang
0503fbd2e3
perf: fix N+1 query issue in tools access control checking
...
- Pre-fetch user group IDs once per request in get_tools endpoint
- Pass user_group_ids to has_access to avoid repeated group queries
- Optimize access control validation from 1+N to 1+1 query pattern
- Reduce database load when checking multiple tools access permissions
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:49:53 +09:00
Sihyeon Jang
03d1d2a88b
perf: fix N+1 query issue in get_tools method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern for tools listing
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:35:35 +09:00
Sihyeon Jang
c0b3db38a5
perf: fix N+1 query issue in get_models method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern for models with base_model_id
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:33:41 +09:00
Sihyeon Jang
f588655f7f
perf: fix N+1 query issue in get_knowledge_bases method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:29:47 +09:00
Sihyeon Jang
c45201a8a2
perf: fix N+1 query issue in get_prompts method
...
- Replace individual user queries with batch fetching
- Use single query to fetch all required users at once
- Implement O(1) user lookup with dictionary mapping
- Reduce query count from 1+N to 1+1 pattern
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:25:26 +09:00
Sihyeon Jang
3ccbb46938
perf: fix cache key generation for model list caching
...
- Replace Request object with user.id in cache key for get_all_models
- Request objects are new instances per HTTP request, preventing cache hits
- Cache keys now use user.id ensuring proper cache functionality
- Affects both Ollama and OpenAI model list endpoints
Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:17:41 +09:00
Timothy Jaeryang Baek
22c4ef4fb0
enh: delete_file query param
2025-09-02 21:32:07 +04:00
Andreas Fuerer
df0d29c81c
style: fix formatting issues
2025-09-02 19:16:02 +02:00
Andreas Fuerer
bc6afc9057
feature: Azure OpenAI image generation support
...
The image generation API used on Azure OpenAI requires to specify the API
version by appending an `api-version` query parameter to the endpoint URL.
Added the environment variable `IMAGES_OPENAI_API_VERSION` with
configuration functionality in the administration UI.
2025-09-02 15:51:45 +02:00
Tim Jaeryang Baek
d01439d144
Merge pull request #17093 from open-webui/dependabot/pip/backend/dev/argon2-cffi-25.1.0
...
build(deps): bump argon2-cffi from 23.1.0 to 25.1.0 in /backend
2025-09-02 02:41:49 +04:00
Tim Jaeryang Baek
379592dae4
Merge pull request #17096 from open-webui/dependabot/pip/backend/dev/pytest-approx-eq-8.4.1
...
build(deps): update pytest requirement from ~=8.3.5 to ~=8.4.1 in /backend
2025-09-01 22:51:02 +04:00
Tim Jaeryang Baek
22ff239e3a
Merge pull request #17094 from open-webui/dependabot/pip/backend/dev/youtube-transcript-api-1.2.2
...
build(deps): bump youtube-transcript-api from 1.1.0 to 1.2.2 in /backend
2025-09-01 22:50:57 +04:00
Timothy Jaeryang Baek
e830b4959e
enh: llama cpp timing stats
2025-09-01 22:49:49 +04:00
Timothy Jaeryang Baek
4f2e426fc7
refac
2025-09-01 14:27:20 +04:00
Timothy Jaeryang Baek
609a6a3721
refac
2025-09-01 14:22:02 +04:00
Timothy Jaeryang Baek
85153afda8
refac
2025-09-01 14:21:17 +04:00
Timothy Jaeryang Baek
f56889c5c7
fix: fillter exception handling
2025-09-01 14:14:20 +04:00
Timothy Jaeryang Baek
4b97884fce
refac
2025-09-01 11:46:52 +04:00
dependabot[bot]
4cd550d1d0
build(deps): update pytest requirement in /backend
...
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest ) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.5...8.4.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-version: 8.4.1
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 06:02:31 +00:00
dependabot[bot]
3e69f10af7
build(deps): bump youtube-transcript-api from 1.1.0 to 1.2.2 in /backend
...
Bumps [youtube-transcript-api](https://github.com/jdepoix/youtube-transcript-api ) from 1.1.0 to 1.2.2.
- [Release notes](https://github.com/jdepoix/youtube-transcript-api/releases )
- [Commits](https://github.com/jdepoix/youtube-transcript-api/compare/v1.1.0...v1.2.2 )
---
updated-dependencies:
- dependency-name: youtube-transcript-api
dependency-version: 1.2.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 05:59:27 +00:00
dependabot[bot]
bcc0cbf895
build(deps): bump argon2-cffi from 23.1.0 to 25.1.0 in /backend
...
Bumps [argon2-cffi](https://github.com/hynek/argon2-cffi ) from 23.1.0 to 25.1.0.
- [Release notes](https://github.com/hynek/argon2-cffi/releases )
- [Changelog](https://github.com/hynek/argon2-cffi/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hynek/argon2-cffi/compare/23.1.0...25.1.0 )
---
updated-dependencies:
- dependency-name: argon2-cffi
dependency-version: 25.1.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 05:59:19 +00:00
Timothy Jaeryang Baek
ed5d95f434
refac
2025-09-01 02:41:29 +04:00
Timothy Jaeryang Baek
77b65ccbfb
refac/enh: forward headers to tool server
2025-09-01 01:52:10 +04:00
Timothy Jaeryang Baek
487979859a
fix: web/youtube attachements
2025-09-01 01:22:50 +04:00
Timothy Jaeryang Baek
ac0243e8b7
refac
2025-09-01 00:57:13 +04:00
Timothy Jaeryang Baek
b45219c8b1
refac
2025-09-01 00:04:26 +04:00
Tim Jaeryang Baek
ebfc887869
Merge pull request #17061 from AdamJohnSwan/dev
...
fix: for forming TTS request URL when there is a slash at the end of the base URL
2025-09-01 00:01:43 +04:00
Tim Jaeryang Baek
719d115d49
Merge pull request #17049 from rgaricano/dev-FIX_lex-sem
...
FIX: Hybrid Search
2025-09-01 00:00:25 +04:00
Tim Jaeryang Baek
4e7b0ea4b4
Merge pull request #17013 from athoik/fix-17000
...
fix: handle unicode filenames in external document loader
2025-08-31 23:58:52 +04:00
Timothy Jaeryang Baek
c2b4976c82
enh: PGVECTOR_CREATE_EXTENSION env var
2025-08-31 23:58:18 +04:00
Timothy Jaeryang Baek
e0ab5adb97
refac
2025-08-31 23:52:50 +04:00
Timothy Jaeryang Baek
b0f6f24ca8
refac
2025-08-31 23:42:34 +04:00
Tim Jaeryang Baek
7df1a059d6
Merge pull request #17012 from thomascooper/fork/feature/20250828-auth-oidc-support-pkce
...
fix: PKCE requires no secret, with no secret the login button does not eve…
2025-08-31 14:29:05 +04:00
Hadad
48afd424a3
fix: Resolve admin account creation on Hugging Face Spaces.
...
Signed-off-by: Hadad <hadad@linuxmail.org>
2025-08-31 14:33:48 +07:00
Adam
39ae9167ee
removed test code.
2025-08-30 20:31:13 -04:00
Adam
20b6902b9f
whitespace
2025-08-30 20:30:34 -04:00
Adam
08b958cfc9
re-add used var
2025-08-30 20:29:16 -04:00
Adam
c62f30e22c
remove whitespace
2025-08-30 20:12:46 -04:00
Adam
562710fe33
join the url instead of concatenating a string in case the user adds a slash to the end of their configured url.
2025-08-30 20:05:53 -04:00
_00_
647e38f701
Revert bypass hybrid search when BM25_weight=0
...
Revert PR https://github.com/open-webui/open-webui/commit/74b1c801
2025-08-30 10:45:35 +02:00
Athanasios Oikonomou
d735b036fe
fix: handle unicode filenames in external document loader
...
Files with special characters in their names (e.g., ü.pdf) caused issues since HTTP headers only allow Latin-1 characters.
This change URL-encodes `X-Filename` before adding it to request headers, preventing failures when uploading or processing such files.
Fixes : #17000
2025-08-28 22:19:50 +03:00
Thomas Cooper
9d80cc3b2d
PKCE requires no secret, with no secret the login button does not ever show
2025-08-28 14:47:13 -04:00
Timothy Jaeryang Baek
8cca648efa
refac
2025-08-28 13:25:48 +04:00
Timothy Jaeryang Baek
a8222e391b
chore: dep bump
2025-08-28 13:05:06 +04:00
Timothy Jaeryang Baek
12bd04d24d
refac/enh
2025-08-28 03:24:26 +04:00
Timothy Jaeryang Baek
2bb6063dcb
refac/fix: marker
2025-08-28 03:03:31 +04:00
Timothy Jaeryang Baek
48635ced35
refac
2025-08-28 02:45:06 +04:00
Timothy Jaeryang Baek
e7c7c65227
refac/fix: error message
2025-08-28 02:35:29 +04:00
Timothy Jaeryang Baek
cf08d34879
refac
2025-08-28 02:24:21 +04:00
Timothy Jaeryang Baek
e39ce16a86
enh: custom reasoning tags
2025-08-27 17:24:16 +04:00
Timothy Jaeryang Baek
7c2cb5899c
refac
2025-08-27 15:25:24 +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
edf7a3d142
refac
2025-08-26 22:05:27 +04:00
Timothy Jaeryang Baek
8b425a6295
refac
2025-08-26 21:56:52 +04:00
Timothy Jaeryang Baek
07357afcf6
refac
...
Co-Authored-By: _00_ <131402327+rgaricano@users.noreply.github.com>
2025-08-26 16:54:36 +04:00
Timothy Jaeryang Baek
803b2e35be
enh: delete_message, continue_response, regenerate_response, rate_response user permissions
...
Co-Authored-By: G30 <50341825+silentoplayz@users.noreply.github.com>
2025-08-26 15:05:35 +04:00
Timothy Jaeryang Baek
23a9731899
refac/fix: hybrid search
2025-08-26 15:04:46 +04:00
Tim Jaeryang Baek
4267e22d4a
Merge pull request #16826 from selenecodes/feat/azure-document-intelligence-azure-entra-auth
...
feat: Authenticate Azure Document Intelligence using DefaultAzureCredential
2025-08-26 14:32:04 +04:00
Timothy Jaeryang Baek
c61698efcf
enh: process_in_background query param for file upload endpoint
2025-08-25 18:18:52 +04:00
Timothy Jaeryang Baek
a37d411dcf
refac
2025-08-25 18:12:47 +04:00
Timothy Jaeryang Baek
0e46f8091f
fix: __tools__ param issue
2025-08-25 14:29:05 +04:00
Timothy Jaeryang Baek
0ea421ea20
refac
2025-08-25 01:12:14 +04:00
_00_
093af754e7
FIX: Playwright Timeout (ms) interpreted as seconds
...
Fix for Playwright Timeout (ms) interpreted as seconds.
To address https://github.com/open-webui/open-webui/issues/16801
In Frontend Playwright Timeout is setted as (ms), but in backend is interpreted as (s) doing a time conversion for playwright_timeout var (that have to be in ms).
& as _Originally posted by @rawbby in [#16801 ](https://github.com/open-webui/open-webui/issues/16801#issuecomment-3216782565 )_
> I personally think milliseconds are a reasonable choice for the timeout. Maybe the conversion should be fixed, not the label.
> This would further not break existing configurations from users that rely on their current config.
>
2025-08-23 14:15:00 +02:00
Selene Blok
5051bfe7ab
feat(document retrieval): Authenticate Azure Document Intelligence using AzureDefaultCredential if API key is not provided
2025-08-22 16:15:43 +02:00
Timothy Jaeryang Baek
37a3de0703
fix
2025-08-22 17:19:57 +04:00
Timothy Jaeryang Baek
72b25ab78b
fix: image generation
2025-08-22 16:58:25 +04:00
Timothy Jaeryang Baek
fbff4e19de
fix: reranking
2025-08-22 16:47:05 +04:00
Timothy Jaeryang Baek
43b2eca418
refac
2025-08-22 14:01:57 +04:00
Timothy Jaeryang Baek
278a4edd0b
fix: tool server not loading
2025-08-22 13:44:03 +04:00
Timothy Jaeryang Baek
279e3e970f
fix: redis session issue
2025-08-22 13:30:44 +04:00
Timothy Jaeryang Baek
88a5b5ff4c
fix: image gen
2025-08-22 13:25:23 +04:00
Timothy Jaeryang Baek
9fb2c9c86d
refac
2025-08-21 22:02:11 +04:00
Timothy Jaeryang Baek
60b8cfb9fa
refac
2025-08-21 21:48:21 +04:00
Tim Jaeryang Baek
5a66f69460
Merge pull request #16779 from mahenning/fix--clean-unload-embed/reranker-models
...
Fix: Free VRAM memory when updating embedding / reranking models
2025-08-21 21:38:37 +04:00
Marko Henning
f2e78d7940
More formatting
2025-08-21 13:42:03 +02:00
Marko Henning
c821c3ecb0
Formatting
2025-08-21 13:40:56 +02:00
Marko Henning
b3de3295d6
Chage torch import to conditional import
2025-08-21 13:19:24 +02:00
Timothy Jaeryang Baek
e6da38464b
refac: ENABLE_ADMIN_WORKSPACE_CONTENT_ACCESS renamed to BYPASS_ADMIN_ACCESS_CONTROL
2025-08-21 13:08:22 +04:00
Timothy Jaeryang Baek
02479425a5
refac
2025-08-21 12:51:41 +04:00
Timothy Jaeryang Baek
cd762db9bf
refac
2025-08-21 12:50:11 +04:00
Marko Henning
6663fc3a6c
Unloads only if internal models are used.
2025-08-21 10:49:03 +02:00
Timothy Jaeryang Baek
9726c0b7ee
refac/fix: s3 checksum validation
2025-08-21 12:44:16 +04:00
Timothy Jaeryang Baek
1a15a62b73
chore: format
2025-08-21 04:47:28 +04:00
Timothy Jaeryang Baek
efcf6db687
refac
2025-08-21 04:46:43 +04:00
Timothy Jaeryang Baek
66f00ce4bf
refac
2025-08-21 04:40:08 +04:00
Timothy Jaeryang Baek
094a16ab49
refac
2025-08-21 03:38:26 +04:00
Timothy Jaeryang Baek
86011e40be
refac: account details
2025-08-21 02:39:25 +04:00
Timothy Jaeryang Baek
4451f86eb0
refac
2025-08-21 01:22:32 +04:00
Timothy Jaeryang Baek
1f91e5d3c6
fix: multi-ollama mounted display issue
2025-08-21 00:03:38 +04:00
Timothy Jaeryang Baek
faf01bdeac
fix: None Type tool installation during startup
...
Co-Authored-By: Adam Outler <adamoutler@gmail.com>
2025-08-20 23:58:08 +04:00
Timothy Jaeryang Baek
919d65f36f
feat/enh: ENABLE_OTEL_TRACES granular otel support
2025-08-20 23:03:12 +04:00
Timothy Jaeryang Baek
ba972ecd52
refac
2025-08-20 21:05:04 +04:00
Marko Henning
cd02ff2e07
Fix if checks
2025-08-20 14:07:13 +02:00
Marko Henning
39fe385017
Correctly unloads embedding/reranker models
2025-08-20 13:30:45 +02:00
Tim Jaeryang Baek
7452b87877
Merge pull request #16741 from 0xThresh/s3vector-support
...
fix: batch S3 vectors in groups of 500 to comply with API limitations
2025-08-20 13:25:42 +04:00
James W.
45d9a720b9
Merge branch 'open-webui:main' into s3vector-support
2025-08-19 22:06:16 -06:00
0xThresh.eth
7fcc545672
fix: batch S3 vectors in groups of 500 to comply with API limitations
2025-08-19 22:05:47 -06:00
Timothy Jaeryang Baek
5e1f4fa0ff
feat: async file upload
2025-08-20 00:36:13 +04:00
Timothy Jaeryang Baek
8eb5807c5f
refac: images generation endpoint size field
2025-08-19 23:14:41 +04:00
Timothy Jaeryang Baek
b3a95f40fc
refac/enh: add performance indexes
...
Co-Authored-By: decent-engineer-decent-datascientist <77806775+decent-engineer-decent-datascientist@users.noreply.github.com>
2025-08-19 03:24:10 +04:00
Tim Jaeryang Baek
96643f5b6d
Merge pull request #14682 from olivier-lacroix/genai-tool-function
...
refactor: Improve tool callable generation to allow for genai native function call
2025-08-19 03:16:12 +04:00
Timothy Jaeryang Baek
575db66295
feat: save temporary chats
2025-08-19 02:37:18 +04:00
Timothy Jaeryang Baek
d6f709574e
refac/enh: async process chat handling
2025-08-19 01:24:53 +04:00
Timothy Jaeryang Baek
4bc77b544e
refac
2025-08-18 23:39:14 +04:00
Timothy Jaeryang Baek
70d0477418
refac: tool name collision handling
2025-08-18 21:28:28 +04:00
Timothy Jaeryang Baek
f592748011
refac: tool server redis cache
2025-08-18 20:53:46 +04:00
Timothy Jaeryang Baek
8a157578f4
enh/refac: ability to specify external tool server id
2025-08-18 20:38:55 +04:00
Timothy Jaeryang Baek
f97f21bf3a
refac/fix: rename WEB_SEARCH_CONCURRENT_REQUESTS to WEB_LOADER_CONCURRENT_REQUESTS
2025-08-18 20:06:36 +04:00
Timothy Jaeryang Baek
68d42ef850
refac
2025-08-18 19:49:29 +04:00
Timothy Jaeryang Baek
6d0f757848
refac: openai model list
2025-08-18 19:45:26 +04:00
Timothy Jaeryang Baek
094a82b264
refac: follow up prompt template
2025-08-18 15:53:44 +04:00
Timothy Jaeryang Baek
d7363fd65f
fix: arena model selected model id
2025-08-17 04:55:45 +04:00
Timothy Jaeryang Baek
f23eb2a31c
refac: audio lang fallback logic
2025-08-17 04:33:42 +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
Timothy Jaeryang Baek
7f0c50f445
refac
2025-08-17 04:06:16 +04:00
Timothy Jaeryang Baek
bed6aa63e1
refac
2025-08-17 03:59:00 +04:00
Tim Jaeryang Baek
6a109e972e
Merge pull request #15863 from tcx4c70/feat/sqlite-wal
...
perf(db): Improve performance of db, especially sqlite
2025-08-17 03:55:59 +04:00
Timothy Jaeryang Baek
2387877dae
refac/fix: model name retrieval edge case
2025-08-17 03:50:55 +04:00
Timothy Jaeryang Baek
35e8c77025
refac/fix
2025-08-17 03:21:14 +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
43aa23ea77
refac
2025-08-15 14:15:27 +04:00
silentoplayz
b810868239
fix: Alembic CLI commands from failing
2025-08-15 04:17:47 -04:00
Tim Jaeryang Baek
0b59aa940e
Merge pull request #16606 from Rain6435/fix/azure-postgresql-pgvector-permissions
...
fix: resolve Azure PostgreSQL pgvector extension permission issue
2025-08-15 00:59:04 +04:00
Timothy Jaeryang Baek
f1c28455ad
refac: async webhook request
2025-08-15 00:07:02 +04:00
Timothy Jaeryang Baek
daa4b3284f
refac/fix: OAUTH_GROUPS_CLAIM env var
2025-08-14 23:59:54 +04:00
Timothy Jaeryang Baek
057533f9cc
refac
2025-08-14 16:56:08 +04:00
Rain6435
a1e62ab422
fix: Formatting
2025-08-14 01:50:57 -04:00
Rain6435
1a42e96a3b
fix: resolve Azure PostgreSQL pgvector extension permission issue
...
Replace direct CREATE EXTENSION commands with conditional checks to avoid
permission errors on Azure PostgreSQL Flexible Server where only
azure_pg_admin members can create extensions.
- Check pg_extension table before attempting to create vector extension
- Apply same fix to pgcrypto extension for consistency
- Allows following least privilege principle for database users
Fixes #12453
2025-08-14 01:45:02 -04:00
Timothy Jaeryang Baek
13fe78428b
refac
2025-08-14 04:50:33 +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
ad98d4300b
refac/fix: milvus query logic
2025-08-14 03:18:38 +04:00
Timothy Jaeryang Baek
93205d4320
fix: pending user display content
2025-08-14 02:27:24 +04:00
Timothy Jaeryang Baek
2ed9896dea
refac/fix: oauth jwt cookie
2025-08-14 02:00:38 +04:00
Tim Jaeryang Baek
0845b7ffe5
Merge pull request #16582 from koflerm/patch-1
...
Fix: Retrieve Username Claim from Userinfo Endpoint
2025-08-13 19:23:44 +04:00
Timothy Jaeryang Baek
ff55ca4d75
fix: temp chat not working
2025-08-13 19:18:30 +04:00
Markus Kofler
2011e5711d
Enable Retrieving Username Claim from Userinfo Endpoint
2025-08-13 16:27:25 +02:00
Timothy Jaeryang Baek
e7d9755d97
refac
2025-08-13 18:18:30 +04:00
Tim Jaeryang Baek
8a745b9bbf
Merge branch 'dev' into fix_model_access
2025-08-13 18:07:29 +04:00
Tim Jaeryang Baek
37b8ea3ab2
Merge pull request #16557 from ShirasawaSama/patch-3
...
feat: Add administrator permission control (BYPASS_MODEL_ACCESS_CONTROL) to the two remaining main APIs
2025-08-13 17:56:39 +04:00
Timothy Jaeryang Baek
4cca1829c2
refac
2025-08-13 17:49:57 +04:00
Timothy Jaeryang Baek
230e21b10c
Revert "Merge pull request #16547 from Gyarbij/main"
...
This reverts commit dd3cd4ac4f , reversing
changes made to f0c2d47b24 .
2025-08-13 17:49:19 +04:00
Tim Jaeryang Baek
dd3cd4ac4f
Merge pull request #16547 from Gyarbij/main
...
fix: improve model sorting by handling missing names
2025-08-13 17:48:46 +04:00
Shirasawa
e966f54001
feat: Add administrator permission control to the two remaining APIs
2025-08-13 07:02:36 +00:00
Chono N
23575825a1
fix: improve model sorting by handling missing names
2025-08-12 22:27:59 +02:00
Tim Jaeryang Baek
1e67035bd3
Merge pull request #16523 from expruc/perf/hybrid_search_bm_25
...
perf: disable collection retrieval and bm_25 calculation if bm_25 weight is 0
2025-08-12 23:55:26 +04:00
expruc
74b1c80132
disable collection retrieval and bm_25 calculation if bm_25 weight is 0 or less
2025-08-12 15:53:39 +03:00
Thomas Rehn
7aa41d5d0c
feat: use AIOHTTP_CLIENT_TIMEOUT for tool calls to make timeout configurable
2025-08-12 12:29:02 +02:00
Classic298
df314fda1d
Update main.py
2025-08-11 23:41:49 +02:00
Classic298
f758bf74c2
Update main.py
2025-08-11 23:39:01 +02:00
Classic298
357b57e1d6
Update models.py
2025-08-11 23:36:48 +02:00
Classic298
d8c4dd6f79
Fix admin model access ( #17 )
...
* Update models.py
* Update models.py
* Update models.py
* Update ollama.py
* Update openai.py
* Update models.py
* Update openai.py
* Update ollama.py
2025-08-11 23:23:44 +02:00
Timothy Jaeryang Baek
f890fe6901
enh: allow plaintext for external tool servers
2025-08-11 17:36:36 +04:00
Timothy Jaeryang Baek
97448e25ec
fix: openai error handling
2025-08-11 17:00:06 +04:00
Timothy Jaeryang Baek
890691319f
fix: s3vector import issue
2025-08-11 16:23:08 +04:00
Timothy Jaeryang Baek
21094ca88b
fix: pinecone insert issue
2025-08-11 16:22:58 +04:00
Timothy Jaeryang Baek
fbf5f2bb67
refac: disable direct connections by default to avoid confusion
2025-08-11 13:49:53 +04:00
Timothy Jaeryang Baek
32a022a823
enh: v1 endpoint support
2025-08-11 00:45:59 +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
Adam Tao
7bd7559bfe
refactor: format
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Adam Tao
635cb8e3ff
perf(db): deduplicate update_user_last_active_by_id to reduce conflicts
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Adam Tao
b23abcbfe5
feat(db): Add DATABASE_ENABLE_SQLITE_WAL to enable SQLite WAL
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com>
2025-08-10 22:28:31 +08:00
Timothy Jaeryang Baek
77dcfb5062
chore: format
2025-08-10 16:54:49 +04:00
Athanasios Oikonomou
dc453efa5c
feat: Display assigned user groups in Admin Panel
...
Description:
This PR adds the ability to view a user’s assigned groups in the Admin Panel when editing a user.
Backend Changes:
Added a new endpoint:
GET /api/v1/users/{user_id}/groups
Returns the list of groups assigned to a specific user.
Requires admin privileges.
Frontend Changes:
Implemented getUserGroupsById API function to call the new backend endpoint, in lib/apis/users.
Updated EditUserModal.svelte to:
Load user groups asynchronously when the modal is opened.
Display the groups inline in the form before the Save button.
Show a loading state while fetching, and a “No groups assigned” message if none exist.
Result:
Admins can now see which groups a user belongs to directly from the edit user modal,
improving visibility and reducing the need to navigate away for group membership checks.
2025-08-10 14:49:01 +03:00
Timothy Jaeryang Baek
d5ad0ae862
refac
2025-08-10 13:49:28 +04:00
Timothy Jaeryang Baek
cd778582d5
fix: undefined model_id issue
2025-08-10 13:48:12 +04:00
xhejtman
c4e0051ab2
Fix audit get_current_user
...
get_current_user has 4 args not 3 args:
```
get_current_user(
request: Request,
response: Response,
background_tasks: BackgroundTasks,
auth_token: HTTPAuthorizationCredentials = Depends(bearer_security)
```
2025-08-10 02:10:00 +02:00
Timothy Jaeryang Baek
3f7d3def02
enh: folder filter
2025-08-10 02:10:18 +04:00
Timothy Jaeryang Baek
6497b46a78
refac
2025-08-10 01:44:33 +04:00
Timothy Jaeryang Baek
d8c76e9a0c
refac
2025-08-10 01:31:07 +04:00
Timothy Jaeryang Baek
b1d5e3b687
refac
2025-08-10 01:29:51 +04:00
Timothy Jaeryang Baek
c77b36bdcc
refac
2025-08-10 00:02:58 +04:00
Timothy Jaeryang Baek
77189664c2
chore: format
2025-08-09 23:57:35 +04:00
Timothy Jaeryang Baek
f85aaa4ed9
refac: sqlcipher3-wheels as optional
2025-08-09 23:56:17 +04:00
Tim Jaeryang Baek
86fa564b44
Merge pull request #16132 from rndmcnlly/feature/sqlcipher-database-encryption
...
feat: Implement SQLCipher support for database encryption
2025-08-09 23:55:03 +04:00
Tim Jaeryang Baek
53425ffadb
Merge pull request #16419 from expruc/feat/qdrant_improvements
...
feat: qdrant client improvements
2025-08-09 23:52:12 +04:00
Tim Jaeryang Baek
17ca02aa6b
Merge pull request #16417 from Ithanil/prevent_idle_transactions
...
fix: Prevent idle transactions with PGvector DB
2025-08-09 23:51:51 +04:00