Timothy J. Baek
85fc35492d
refac
2024-09-05 16:11:07 +02:00
vikrantrathore
74169b0320
fix: avoid overriding DATA_DIR and prevent errors when directories are the same
...
Previously, the `DATA_DIR` environment variable was always overridden by defaulting to `OPEN_WEBUI_DIR / "data"`, which ignored user-defined `DATA_DIR` values. Additionally, when `DATA_DIR` and `NEW_DATA_DIR` were the same, the script attempted to copy files into themselves, leading to errors or redundant operations.
This commit ensures that:
1. The `DATA_DIR` environment variable is respected and not overridden.
2. Copy operations between `DATA_DIR` and `NEW_DATA_DIR` are only performed if the directories are different, preventing errors when they point to the same location.
These changes resolve potential file copy errors and preserve user configurations.
2024-09-05 14:17:58 +08:00
Timothy J. Baek
a0be3822bf
refac
2024-09-04 23:00:01 +02:00
Pol Dellaiera
004700c125
feat: add OVERRIDE_PIP_INSTALL
environment variable
2024-09-04 22:44:59 +02:00
Pascal Lim
998616c0fd
fix scripts to point to correct path
2024-09-04 20:27:30 +02:00
Timothy J. Baek
92a88df484
refac
2024-09-04 20:00:47 +02:00
Timothy J. Baek
f2f713023d
refac
2024-09-04 19:57:41 +02:00
Timothy J. Baek
cf86ba7786
refac: tools & functions
2024-09-04 19:55:20 +02:00
Timothy J. Baek
d6fc0ccf65
fix
2024-09-04 19:03:51 +02:00
Timothy J. Baek
3afd66d50f
fix: tools & functions import
2024-09-04 18:59:50 +02:00
Timothy J. Baek
8f6369374d
refac: error handling
2024-09-04 17:52:59 +02:00
Timothy J. Baek
e5cfa6501b
dev6
2024-09-04 17:47:51 +02:00
Timothy J. Baek
175ffc5c66
dev5
2024-09-04 17:33:39 +02:00
Timothy J. Baek
c0441ab2b8
dev4
2024-09-04 17:14:24 +02:00
Timothy J. Baek
6d1bd3ab66
dev4
2024-09-04 17:02:10 +02:00
Timothy J. Baek
1779e6fecc
chore: format
2024-09-04 16:58:28 +02:00
Timothy J. Baek
03d5a670f6
refac: mv backend files to /open_webui dir
2024-09-04 16:54:48 +02:00
Timothy J. Baek
76806a998f
fix: automatic1111 model update issue
2024-09-04 15:25:31 +02:00
Timothy J. Baek
9bcbf5e9b3
Update config.py
2024-09-03 21:46:40 +02:00
Timothy J. Baek
6bbb755997
feat: import/export config
2024-09-03 21:16:07 +02:00
Timothy Jaeryang Baek
aec7cd572c
Merge pull request #5127 from open-webui/dependabot/pip/pip-5bab50f10f
...
build(deps): bump the pip group across 2 directories with 1 update
2024-09-03 20:17:04 +02:00
dependabot[bot]
856759d350
build(deps): bump the pip group across 2 directories with 1 update
...
Bumps the pip group with 1 update in the / directory: [flask-cors](https://github.com/corydolphin/flask-cors ).
Bumps the pip group with 1 update in the /backend directory: [flask-cors](https://github.com/corydolphin/flask-cors ).
Updates `flask-cors` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/corydolphin/flask-cors/releases )
- [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md )
- [Commits](https://github.com/corydolphin/flask-cors/compare/4.0.1...5.0.0 )
Updates `flask-cors` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/corydolphin/flask-cors/releases )
- [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md )
- [Commits](https://github.com/corydolphin/flask-cors/compare/4.0.1...5.0.0 )
---
updated-dependencies:
- dependency-name: flask-cors
dependency-type: direct:production
dependency-group: pip
- dependency-name: flask-cors
dependency-type: direct:production
dependency-group: pip
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-03 15:32:52 +00:00
Timothy J. Baek
5f92f7e41f
enh: prevent trailing / from comfyui base url
...
Co-Authored-By: qwertyoriuop <41389168+qwertyoriuop@users.noreply.github.com>
2024-09-03 16:19:34 +02:00
Timothy Jaeryang Baek
df0bb4b4b0
Merge pull request #5070 from open-webui/dependabot/pip/backend/dev/authlib-1.3.2
...
build(deps): bump authlib from 1.3.1 to 1.3.2 in /backend
2024-09-03 14:51:30 +02:00
Timothy Jaeryang Baek
fdfa96ba51
Merge pull request #5069 from open-webui/dependabot/pip/backend/dev/duckduckgo-search-approx-eq-6.2.11
...
build(deps): update duckduckgo-search requirement from ~=6.2.1 to ~=6.2.11 in /backend
2024-09-03 14:51:24 +02:00
Timothy Jaeryang Baek
ff94a8e57f
Merge pull request #5068 from open-webui/dependabot/pip/backend/dev/aiohttp-3.10.5
...
build(deps): bump aiohttp from 3.10.2 to 3.10.5 in /backend
2024-09-03 14:51:17 +02:00
Timothy Jaeryang Baek
41369aefdf
Merge pull request #5067 from open-webui/dependabot/pip/backend/dev/langchain-0.2.15
...
build(deps): bump langchain from 0.2.14 to 0.2.15 in /backend
2024-09-03 14:51:11 +02:00
dependabot[bot]
665c851f66
build(deps): bump authlib from 1.3.1 to 1.3.2 in /backend
...
Bumps [authlib](https://github.com/lepture/authlib ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/lepture/authlib/releases )
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst )
- [Commits](https://github.com/lepture/authlib/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: authlib
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:51 +00:00
dependabot[bot]
115503098e
build(deps): update duckduckgo-search requirement in /backend
...
Updates the requirements on [duckduckgo-search](https://github.com/deedy5/duckduckgo_search ) to permit the latest version.
- [Release notes](https://github.com/deedy5/duckduckgo_search/releases )
- [Commits](https://github.com/deedy5/duckduckgo_search/compare/v6.2.1...v6.2.11 )
---
updated-dependencies:
- dependency-name: duckduckgo-search
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:47 +00:00
dependabot[bot]
b7cda48a03
build(deps): bump aiohttp from 3.10.2 to 3.10.5 in /backend
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.10.2 to 3.10.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.2...v3.10.5 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:42 +00:00
dependabot[bot]
7780640938
build(deps): bump langchain from 0.2.14 to 0.2.15 in /backend
...
Bumps [langchain](https://github.com/langchain-ai/langchain ) from 0.2.14 to 0.2.15.
- [Release notes](https://github.com/langchain-ai/langchain/releases )
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain==0.2.14...langchain==0.2.15 )
---
updated-dependencies:
- dependency-name: langchain
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:33 +00:00
dependabot[bot]
92488c254d
build(deps): bump unstructured from 0.15.7 to 0.15.9 in /backend
...
Bumps [unstructured](https://github.com/Unstructured-IO/unstructured ) from 0.15.7 to 0.15.9.
- [Release notes](https://github.com/Unstructured-IO/unstructured/releases )
- [Changelog](https://github.com/Unstructured-IO/unstructured/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Unstructured-IO/unstructured/compare/0.15.7...0.15.9 )
---
updated-dependencies:
- dependency-name: unstructured
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 02:56:28 +00:00
Timothy Jaeryang Baek
bccc6e08cc
Merge pull request #4957 from pascallim/fix/imports
...
fix: sort and fix backend imports
2024-08-31 20:09:04 +02:00
Jun Siang Cheah
953beb369c
fix: return proxied response headers during chat completion
2024-08-31 15:15:21 +01:00
Pascal Lim
9232e03102
fix imports
2024-08-30 22:29:45 +02:00
Pascal Lim
c386d0b1a5
sort and fix backend imports
2024-08-30 22:26:22 +02:00
Timothy J. Baek
08efabc696
refac
2024-08-30 10:56:31 -07:00
Timothy Jaeryang Baek
d3bcfd4d5f
Merge pull request #4974 from SearchApi/add-search-api
...
feat: Add support for SearchApi as alternative to WebSearch
2024-08-30 19:42:36 +02:00
Timothy Jaeryang Baek
5367d5ec3b
Merge pull request #5030 from Peter-De-Ath/fix-comfy-ui-403
...
fix: add useragent default headers comfyui
2024-08-30 19:38:50 +02:00
Peter De-Ath
a26f4306a4
fix: add useragent default headers comfyui
2024-08-29 23:38:37 +01:00
Su YR
45363a2abb
fix: type_ == "literal"
2024-08-29 15:55:12 +08:00
Rajendra Kadam
7e1923fcfe
Add searchapi as an alternative web search
...
Add config changes for SearchApi api key and engine
Add searchapi results json in testdata
2024-08-28 15:26:33 +05:30
Su YR
0525dd2bb5
feat: support Literal type in Tools
2024-08-28 15:16:56 +08:00
Peter De-Ath
025f0f390e
refac: support list in json schema to pydantic
2024-08-27 21:42:22 +01:00
Timothy Jaeryang Baek
9dade91ef5
Merge pull request #4917 from Yanyutin753/upload_files_limit
...
🤖 Limit the size and number of uploaded files
2024-08-27 17:09:52 +02:00
Timothy J. Baek
6a21a77ee9
refac
2024-08-27 17:05:24 +02:00
Timothy J. Baek
69c4687a53
refac
2024-08-27 15:53:29 +02:00
Timothy J. Baek
09cba5b87a
refac: rm sub standard code
2024-08-27 15:51:40 +02:00
Timothy J. Baek
600409682e
refac: do not change default behaviour
2024-08-27 15:30:57 +02:00
Timothy J. Baek
689b05a73d
enh: add content-type: application/x-ndjson to ollama /api/chat
2024-08-27 14:06:58 +02:00