Jason Kidd
210dc746f0
feat: Add OpenTelemetry Metrics Support via OTLP Exporter
2025-06-10 10:52:10 -07:00
Timothy Jaeryang Baek
3a0696e1b0
refac
2025-06-08 21:21:51 +04:00
Timothy Jaeryang Baek
cce5f024bd
feat: WEBUI_AUTH_TRUSTED_GROUPS_HEADER
2025-05-24 23:17:12 +04:00
Timothy Jaeryang Baek
732d7aee70
enh: sentence transformers env vars
...
Co-Authored-By: DrZoidberg09 <96449693+drzoidberg09@users.noreply.github.com>
2025-04-24 01:55:18 +09:00
Timothy Jaeryang Baek
8507c47459
refac: WEBUI_AUTH_SIGNOUT_REDIRECT_URL
2025-04-18 23:58:37 -07:00
Tim Jaeryang Baek
221303eec5
Merge pull request #12592 from jarrod-lowe/main
...
feat: Redirect on sign out
2025-04-18 23:56:38 -07:00
Timothy Jaeryang Baek
eb80719cf0
feat: AIOHTTP_CLIENT_SESSION_SSL
2025-04-17 22:11:42 -07:00
Timothy Jaeryang Baek
824238a620
enh: AIOHTTP_CLIENT_SESSION_TOOL_SERVER_SSL
2025-04-17 22:02:16 -07:00
Jarrod Lowe
dfe50b4e56
Merge branch 'open-webui:main' into main
2025-04-17 15:46:24 +12:00
Timothy Jaeryang Baek
91a455a284
chore: format
2025-04-12 16:35:11 -07:00
Jarrod Lowe
a8bbaa61bd
Merge branch 'dev' into main
2025-04-11 22:14:41 +12:00
Timothy Jaeryang Baek
f9bd49bf56
refac
2025-04-10 11:18:53 -07:00
Tim Jaeryang Baek
4cbf16c456
Merge pull request #12717 from Kheiden/progressive-webapp-enhancements
...
feat: Add PWA external manifest URL env var
2025-04-10 10:55:54 -07:00
Kurt Heiden
c12f8d28b9
Add PWA external manifest URL env var
2025-04-10 11:35:43 -06:00
Timothy Jaeryang Baek
fb0ee1329d
enh: tool server data timeout
2025-04-10 10:23:14 -07:00
DrMelone
4c9a791b06
Update env.py
2025-04-08 18:47:48 +02:00
DrMelone
f822d89350
Update env.py
2025-04-08 18:38:00 +02:00
Jarrod Lowe
b4465987f9
Environment variable to redirect on logout
2025-04-08 13:39:00 +12: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
Jan Kessler
d0b13cf388
prefix sentinel envs with redis_
2025-03-27 09:22:11 +01:00
Yuta Hayashibe
d144592660
chore: Remove ENABLE_AUDIT_LOGS and set the AUDIT_LOG_LEVEL NONE
2025-03-23 11:34:04 +09:00
Timothy Jaeryang Baek
f806ab0bd2
refac
2025-03-19 08:32:31 -07:00
Jan Kessler
e68cd9b671
Redis Sentinel support for AppConfig
2025-03-18 09:30:18 +01:00
Jan Kessler
9bf663934a
fixes & add envs for Sentinel implementation
2025-03-18 07:49:57 +01:00
Nikes
b6664f5ae8
feat: pip options in tools/functions install requirements
2025-03-12 23:15:26 +02:00
Timothy Jaeryang Baek
396c28817c
refac
2025-03-11 18:55:30 +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
d40e696468
enh: multiple replica app state sync
2025-03-08 17:59:15 +00:00
Timothy Jaeryang Baek
1cfa491179
Merge pull request #10868 from tidely/loggingnamemap
...
chore: use logging.getLevelNamesMapping() for validating log level
2025-03-03 20:55:22 -08:00
Timothy Jaeryang Baek
35e7e07821
refac: cuda error gc
2025-03-03 20:55:07 -08:00
Timothy Jaeryang Baek
80f5573cf3
refac: AIOHTTP_CLIENT_TIMEOUT_MODEL_LIST
2025-03-03 20:24:10 -08:00
Timothy Jaeryang Baek
88c02d5a14
refac
2025-02-28 16:02:15 -08:00
Yifang Deng
41a2b86e70
fix: add redis lock timeout config
2025-02-28 10:12:51 +01:00
tidely
d7b18b662b
chore: use logging.getLevelNamesMapping()
...
Use `logging.getLevelNamesMapping()` for getting all valid logging levels. This also allows adding new ones using `logging.addLevel()`. This feature was [added](https://docs.python.org/3.11/library/logging.html#logging.getLevelNamesMapping ) in Python 3.11 which is above the minimum supported Python version for open-webui.
2025-02-27 11:19:27 +02:00
Victor Ribeiro
39c6ecb50d
feat: add audit logger middleware and custom logger using loguru
2025-02-20 11:15:38 -03:00
Timothy Jaeryang Baek
63cf80a456
refac
2025-02-16 00:11:18 -08:00
tarmst
85912d726e
Adding debug logs for oauth role & group management
2025-02-07 19:53:25 +00:00
Timothy Jaeryang Baek
70b8199030
chore: format
2025-02-03 13:37:29 -08:00
Antti Pyykkönen
412923dc91
feat: separate cookie settings between session & auth cookies
...
Introducing two new env config options to control cookies settings regarding
authentication. These values are taken into use when setting 'token' and 'oauth_id_token'.
To maintain backwards compatibility, the original session cookie values are used as
fallback.
Separation is done to prevent issues with the session cookie. When the config value was
set as 'strict', the oauth flow was broken (since the session cookie was not provided
after the callback).
Providing a separate config for auth & session cookies allows us to keep the 'strict'
settings for auth related cookies, while also allowing the session cookie to behave as
intended (e.g., by configuring it as 'lax').
The original config was added in commit #af4f8aa. However a later commit #a2e889c reused
this config option for other type of cookies, which was not the original intent.
2025-01-23 16:16:50 +02:00
Timothy Jaeryang Baek
d83acb2f03
Merge pull request #8510 from MadsLang/main
...
Add DATABASE_SCHEMA as env var
2025-01-13 13:16:06 -08:00
MadsLang
d4a26f8031
Merge branch 'open-webui:main' into main
2025-01-13 08:28:13 +01:00
Timothy Jaeryang Baek
960683eced
fix: torch mps not working
...
Co-Authored-By: Rich Tong <1782087+richtong@users.noreply.github.com>
2025-01-06 10:08:12 -08:00
Timothy Jaeryang Baek
a4132322d9
refac
2025-01-05 00:28:36 -08:00
Timothy Jaeryang Baek
d477f73c7e
enh: torch mps support
2025-01-05 00:27:44 -08:00
Timothy Jaeryang Baek
44716a4cb2
refac: disable ENABLE_REALTIME_CHAT_SAVE by default
2025-01-01 20:12:42 -08:00
Timothy Jaeryang Baek
a14dee87e8
Merge pull request #8184 from vishwamartur/fix-offline-docker
...
Fix offline docker container startup issue
2024-12-28 22:26:38 -08:00
Vishwanath Martur
00e6ffe83c
Fix offline docker container startup issue
...
Related to #7207
Modify the code to allow the docker container to start in an offline environment for versions >= 0.4.0.
* **backend/open_webui/retrieval/utils.py**
- Import `OFFLINE_MODE` from `open_webui.env`.
- Set `local_files_only` to `True` when `OFFLINE_MODE` is enabled in `snapshot_kwargs`.
* **backend/open_webui/env.py**
- Add logic to set `HF_HUB_OFFLINE` environment variable to `1` when `OFFLINE_MODE` is enabled.
* **README.md**
- Document setting `HF_HUB_OFFLINE` environment variable to `1` for offline environments.
2024-12-29 11:53:09 +05:30
Timothy Jaeryang Baek
d55884b50e
enh: ENABLE_REALTIME_CHAT_SAVE
2024-12-27 22:36:14 -08:00
Timothy Jaeryang Baek
c4937cc144
enh: webui url
2024-12-25 09:50:57 -07:00
MadsLang
6f1065b56a
Merge branch 'dev' of github.com:open-webui/open-webui
2024-12-16 10:00:24 +01:00
Timothy Jaeryang Baek
4311bb7b99
wip
2024-12-12 20:22:17 -08:00
MadsLang
332188535e
add option to add database schema as env var
2024-12-10 15:18:26 +01:00
Timothy Jaeryang Baek
59c3a18118
enh: BYPASS_MODEL_ACCESS_CONTROL
2024-12-01 18:25:44 -08:00
Timothy Jaeryang Baek
b4fb0d1da2
refac
2024-11-29 01:10:46 -08:00
Timothy J. Baek
5c60081c1f
refac: web search
2024-11-03 17:07:24 -08:00
Timothy Jaeryang Baek
dead5cdd4e
Merge pull request #6589 from DucNgn/dn_forward_user_info_in_headers
...
feat: Add option to forward user info as headers to OpenAI API
2024-11-02 17:24:04 -07:00
Duc Nguyen
06f44dc067
Minor comment
2024-11-01 11:24:10 -04:00
Duc Nguyen
a34d202ae8
move the config to env.py
2024-11-01 11:23:18 -04:00
Jeetesh Chellani
f7d8a6ccba
feat: enable bing support
2024-10-28 16:51:31 +02:00
Timothy J. Baek
dce91a8557
fix: custom model action button issue
2024-10-14 00:28:21 -07:00
Timothy J. Baek
ee8b8220f0
refac: OPENAI_MODEL_LIST_TIMEOUT -> AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LIST
2024-10-13 22:56:33 -07:00
LuoChen
ebec6cd426
add: OPENAI_MODEL_LIST_TIMEOUT
2024-10-14 09:00:09 +08:00
Timothy J. Baek
112cbdccbb
revert: pdf gen
2024-10-13 00:05:28 -07:00
Timothy J. Baek
37fdb0ea2e
refac: move search to backend
2024-10-08 23:37:37 -07:00
Saravanan Palanisamy
16dd352524
add offline_mode and disable version check
2024-10-08 09:13:49 +04:00
Sylvere Richard
9706b76b36
feat: db pool config #5935
2024-10-06 17:20:10 +02:00
Timothy J. Baek
c7a0e45bea
refac
2024-09-30 16:32:38 +02:00
Timothy J. Baek
9d25207b83
refac
2024-09-26 03:13:38 +02:00
Timothy J. Baek
3a163b6392
fix: pip install database save issue
2024-09-26 03:02:08 +02:00
Timothy J. Baek
92b1acd6fb
fix: RESET_CONFIG_ON_START not working
2024-09-25 01:06:11 +02:00
Timothy J. Baek
d055e1f888
refac
2024-09-22 02:14:59 +02:00
Timothy J. Baek
ffd7d74f77
enh: websocket redis support
2024-09-20 23:43:22 +02:00
Timothy J. Baek
2dad9b9432
refac
2024-09-19 20:56:13 +02:00
thiswillbeyourgithub
82b35492af
pep8
2024-09-13 17:18:44 +02:00
thiswillbeyourgithub
a7ea07036e
fix: if cuda is not available fallback to cpu
2024-09-13 17:12:00 +02:00
Timothy J. Baek
28087ccf40
refac
2024-09-10 01:37:36 +01:00
Jun Siang Cheah
827c419251
feat: add ENABLE_WEBSOCKET_SUPPORT to force socket.io to ignore websocket upgrades
2024-09-09 23:17:17 +01:00
Timothy J. Baek
14eda1bf5b
fix: pdf download FONTS_DIR issue
2024-09-06 15:52:23 +02:00
Timothy J. Baek
bfb12a7851
refac
2024-09-06 04:59:20 +02:00
Timothy J. Baek
8a411decac
fix
2024-09-05 16:13:40 +02:00
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
Timothy J. Baek
e5cfa6501b
dev6
2024-09-04 17:47:51 +02:00
Timothy J. Baek
c0441ab2b8
dev4
2024-09-04 17:14:24 +02:00
Timothy J. Baek
03d5a670f6
refac: mv backend files to /open_webui dir
2024-09-04 16:54:48 +02:00