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
Timothy Jaeryang Baek
4ca936f0bf
refac
2025-09-03 13:38:07 +04:00
Tim Jaeryang Baek
0a351580f8
Merge pull request #17137 from acwoo97/feat/knowledge-update-race-condition
...
fix: prevent double-save race by awaiting API calls and adding isSaving guard
2025-09-03 13:36:51 +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
Tim Jaeryang Baek
c7faccd5fa
Merge pull request #17165 from sihyeonn/perf/sh-tools-router
...
perf: fix N+1 query issue in tools access control checking
2025-09-03 13:13:49 +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
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
Timothy Jaeryang Baek
182408a52e
refac
2025-09-02 17:03:59 +04:00
Chanwoo An
513cab94b1
fix: prevent double-save race by awaiting API calls and adding isSaving guard
2025-09-02 20:53:04 +09: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
0a535a6fed
Merge pull request #17107 from rgaricano/dev-es_ES
...
UPD: i18n es-ES Translation v.0.6.26
2025-09-01 22:52:14 +04:00
Tim Jaeryang Baek
3a38173c66
Merge pull request #17098 from open-webui/dependabot/github_actions/dev/actions/download-artifact-5
...
build(deps): bump actions/download-artifact from 4 to 5
2025-09-01 22:51:34 +04:00
Tim Jaeryang Baek
adbaaa65f9
Merge pull request #17097 from open-webui/dependabot/npm_and_yarn/dev/tiptap/extension-highlight-3.3.0
...
build(deps): bump @tiptap/extension-highlight from 3.0.7 to 3.3.0
2025-09-01 22:51:23 +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
Tim Jaeryang Baek
1c1b32b390
Merge pull request #17099 from open-webui/dependabot/github_actions/dev/actions/checkout-5
...
build(deps): bump actions/checkout from 4 to 5
2025-09-01 22:48:04 +04:00
Timothy Jaeryang Baek
e6daad2ab9
chore: bump mermaid
2025-09-01 22:45:06 +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
_00_
cef4028c1c
UPD: i18n Translation es-ES v.0.6.27
...
### Update of i18n Translation es-ES v.0.6.27
Added new strings
2025-09-01 09:48:05 +02:00
Timothy Jaeryang Baek
4b97884fce
refac
2025-09-01 11:46:52 +04:00
Tim Jaeryang Baek
9ac7f2635c
Merge pull request #17101 from open-webui/dependabot/npm_and_yarn/dev/dompurify-3.2.6
...
build(deps): bump dompurify from 3.2.5 to 3.2.6
2025-09-01 10:37:39 +04:00
Tim Jaeryang Baek
2d6f68eb2d
Merge pull request #17095 from open-webui/dependabot/npm_and_yarn/dev/pyodide-0.28.2
...
build(deps): bump pyodide from 0.27.7 to 0.28.2
2025-09-01 10:37:28 +04:00
Tim Jaeryang Baek
61e7aa2229
Merge pull request #17089 from open-webui/dependabot/npm_and_yarn/dev/pdfjs-dist-5.4.149
...
build(deps): bump pdfjs-dist from 5.3.93 to 5.4.149
2025-09-01 10:35:49 +04:00
dependabot[bot]
9f5df72d7c
build(deps): bump dompurify from 3.2.5 to 3.2.6
...
Bumps [dompurify](https://github.com/cure53/DOMPurify ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases )
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.5...3.2.6 )
---
updated-dependencies:
- dependency-name: dompurify
dependency-version: 3.2.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 06:16:43 +00:00
dependabot[bot]
4dd9484b48
build(deps): bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 06:03:14 +00:00
dependabot[bot]
dbe36e841a
build(deps): bump actions/download-artifact from 4 to 5
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 06:02:57 +00:00
dependabot[bot]
201eaa9655
build(deps): bump @tiptap/extension-highlight from 3.0.7 to 3.3.0
...
Bumps [@tiptap/extension-highlight](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-highlight ) from 3.0.7 to 3.3.0.
- [Release notes](https://github.com/ueberdosis/tiptap/releases )
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/extension-highlight/CHANGELOG.md )
- [Commits](https://github.com/ueberdosis/tiptap/commits/v3.3.0/packages/extension-highlight )
---
updated-dependencies:
- dependency-name: "@tiptap/extension-highlight"
dependency-version: 3.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 06:02:48 +00: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]
94dae76d0f
build(deps): bump pyodide from 0.27.7 to 0.28.2
...
Bumps [pyodide](https://github.com/pyodide/pyodide ) from 0.27.7 to 0.28.2.
- [Release notes](https://github.com/pyodide/pyodide/releases )
- [Commits](https://github.com/pyodide/pyodide/compare/0.27.7...0.28.2 )
---
updated-dependencies:
- dependency-name: pyodide
dependency-version: 0.28.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 06:01:03 +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
dependabot[bot]
0e0c1c4ca4
build(deps): bump pdfjs-dist from 5.3.93 to 5.4.149
...
Bumps [pdfjs-dist](https://github.com/mozilla/pdf.js ) from 5.3.93 to 5.4.149.
- [Release notes](https://github.com/mozilla/pdf.js/releases )
- [Commits](https://github.com/mozilla/pdf.js/compare/v5.3.93...v5.4.149 )
---
updated-dependencies:
- dependency-name: pdfjs-dist
dependency-version: 5.4.149
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 05:53:53 +00:00