Commit Graph

1336 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
1bf042ac84
Merge pull request #4351 from cheahjs/feat/disable-admin-chat-view
feat: add ENABLE_ADMIN_CHAT_ACCESS to control admin access to user chats
2024-08-04 16:37:30 +02:00
Jun Siang Cheah
565f40c642 feat: add ENABLE_ADMIN_CHAT_ACCESS to control admin access to user chats 2024-08-04 15:16:14 +01:00
Timothy Jaeryang Baek
91851114e4
Merge pull request #4295 from michaelpoluektov/refactor-tools
refactor: Refactor OpenAI API to use helper functions, silence LSP/linter warnings
2024-08-04 14:17:52 +02:00
Timothy Jaeryang Baek
05977bd1c7
Merge pull request #4342 from michaelpoluektov/fix-non-streaming-function-text
fix: function returning "str"
2024-08-04 14:09:12 +02:00
Michael Poluektov
f8ba0334e8 fix: non streaming functions 2024-08-04 12:10:02 +01:00
Michael Poluektov
3653126179 refac: undo raw split, remove gpt-4-vision-preview 2024-08-04 00:34:24 +01:00
John Karabudak
cdcf214455 made the COMFYUI_FLUX_FP8_CLIP environment variable bool instead of str
this should fix #4328
2024-08-03 16:58:03 -02:30
Michael Poluektov
12c21fac22 refac: apps/openai/main.py and utils 2024-08-03 14:24:26 +01:00
Timothy J. Baek
24a177a149 chore: requirements 2024-08-03 00:47:05 +02:00
Timothy J. Baek
8062866973 chore: format 2024-08-02 22:35:02 +02:00
Timothy Jaeryang Baek
99530358fd
Merge pull request #4300 from JohnTheNerd/flux-image-gen
feat: added support for the new Flux image gen model using ComfyUI
2024-08-02 22:32:22 +02:00
Timothy J. Baek
b559bc84a7 refac 2024-08-02 19:24:47 +02:00
Timothy Jaeryang Baek
3f53abb233
Merge pull request #4018 from justinh-rahb/elevenlabs-voice-names
feat: Fetch ElevenLabs voice ID by name
2024-08-02 18:44:48 +02:00
Timothy J. Baek
8fcb5cee66 enh: min_p 2024-08-02 18:11:20 +02:00
John Karabudak
ad6e8edcd3 added support for the new Flux image gen model using ComfyUI
this commit adds three environment variables:

- COMFYUI_FLUX: determines whether Flux is used, the workflow is completely different so this is necessary.
- COMFYUI_FLUX_WEIGHT_DTYPE: sets the weight precision for Flux. you will probably want to set this to "fp8_e4m3fn" as the fp16 weights take up about 24GB of VRAM. optional, defaults to "default".
- COMFYUI_FLUX_FP8_CLIP: Flux requires two CLIP models downloaded, one of which is available in fp8 and fp16. set to true if you are using the fp8 CLIP weights.
2024-08-02 13:23:20 -02:30
Timothy J. Baek
546d442626 refac 2024-08-02 17:45:30 +02:00
Timothy Jaeryang Baek
a9a6ed8b71
Merge pull request #4237 from michaelpoluektov/refactor-webui-main
refactor: Simplify functions
2024-08-02 01:47:06 +02:00
Timothy J. Baek
e6c64282fc refac 2024-08-02 01:45:50 +02:00
Timothy Jaeryang Baek
6ecb7c80f1
Merge pull request #4262 from michaelpoluektov/fix-redirect-uri
fix: Fix custom redirect URI for OAuth behind reverse proxy
2024-08-01 20:57:27 +02:00
Michael Poluektov
0352e956b6 fix: redirect uri 2024-08-01 12:54:06 +01:00
Michael Poluektov
f999956997 Merge remote-tracking branch 'oauth/main' into dev 2024-08-01 12:53:36 +01:00
Aryan Kothari
b7ad47017d fix: static dir path resolution
when running in different environments, the static_path is different.
This path is now 'determined' at runtime
2024-07-31 23:56:47 -04:00
Michael Poluektov
c89b34fd75 flatten job() 2024-07-31 22:05:37 +01:00
Michael Poluektov
b9b1fdd1a1 refac: rename message_template 2024-07-31 22:01:22 +01:00
Michael Poluektov
2e0fa1c6a0 refac: rename stream_message_template 2024-07-31 22:00:00 +01:00
Michael Poluektov
f8726719ef refac: rename whole_message_template, silence lsp 2024-07-31 21:58:40 +01:00
Michael Poluektov
034411e47e fix: type not manifold 2024-07-31 17:24:00 +01:00
Michael Poluektov
baf58ef396 refac: use add_or_update_system_message 2024-07-31 17:16:07 +01:00
Michael Poluektov
006fc3495e fix: stream_message_template 2024-07-31 16:45:47 +01:00
Michael Poluektov
29a3b82336 refac: reuse stream_message_template 2024-07-31 15:26:26 +01:00
Michael Poluektov
22a5e196c9 simplify main.py 2024-07-31 14:01:40 +01:00
Michael Poluektov
deec41d29a fix: function early returns 2024-07-31 13:51:25 +01:00
Michael Poluektov
3978efd710 refac: Refactor functions 2024-07-31 13:35:02 +01:00
Timothy J. Baek
faca8c8b53 feat: multiple action support 2024-07-28 22:02:23 +01:00
Timothy J. Baek
c1fd55bb04 fix/refac: actions 2024-07-28 13:00:58 +01:00
Timothy J. Baek
f92aed1b91 fix 2024-07-27 23:07:58 +01:00
Timothy Jaeryang Baek
2e4de209fe
Merge pull request #4149 from arsaboo/openrouter
chore: Add HTTP-Referer and X-Title headers for OpenRouter
2024-07-27 16:06:17 +02:00
Alok Saboo
287147687e Add HTTP-Referer and X-Title headers for OpenRouter 2024-07-27 09:43:03 -04:00
Timothy J. Baek
1aaa2e8219 fix: ollama rag issue workaround 2024-07-26 12:22:13 +01:00
Timothy Jaeryang Baek
065d23d0b1
Merge pull request #4068 from Louden7/main
feat: Added environment variable to hide email and password sign in elements
2024-07-25 11:21:49 +02:00
Timothy Jaeryang Baek
81130c205c
Merge pull request #4096 from open-webui/dependabot/pip/pip-b4bdd6eb86
chore(deps): bump the pip group across 2 directories with 2 updates
2024-07-25 11:12:47 +02:00
Dillon
36b94ca5f5 updated environment variable to suggested ENABLE_LOGIN_FORM 2024-07-24 21:44:40 -04:00
dependabot[bot]
8193c2f847
chore(deps): bump the pip group across 2 directories with 2 updates
Bumps the pip group with 2 updates in the / directory: [pymysql](https://github.com/PyMySQL/PyMySQL) and [langchain-community](https://github.com/langchain-ai/langchain).
Bumps the pip group with 1 update in the /backend directory: [langchain-community](https://github.com/langchain-ai/langchain).


Updates `pymysql` from 1.1.0 to 1.1.1
- [Release notes](https://github.com/PyMySQL/PyMySQL/releases)
- [Changelog](https://github.com/PyMySQL/PyMySQL/blob/main/CHANGELOG.md)
- [Commits](https://github.com/PyMySQL/PyMySQL/compare/v1.1.0...v1.1.1)

Updates `langchain-community` from 0.2.0 to 0.2.9
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-community==0.2.0...langchain-community==0.2.9)

Updates `langchain-community` from 0.2.6 to 0.2.9
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](https://github.com/langchain-ai/langchain/compare/langchain-community==0.2.0...langchain-community==0.2.9)

---
updated-dependencies:
- dependency-name: pymysql
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: langchain-community
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: langchain-community
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-24 17:41:24 +00:00
Timothy J. Baek
23e69bcdb4 enh: AsyncGenerator support 2024-07-24 11:29:57 +01:00
Timothy J. Baek
edff071cd2 refac 2024-07-24 11:25:07 +01:00
Timothy Jaeryang Baek
3b487cfae9
Merge pull request #4046 from thearyadev/chat-list-optimization
perf: optimize query for chat list
2024-07-24 12:21:04 +02:00
Timothy Jaeryang Baek
260e42a691
Merge pull request #4036 from open-webui/dependabot/pip/backend/dev/google-generativeai-0.7.2
chore(deps): bump google-generativeai from 0.5.4 to 0.7.2 in /backend
2024-07-24 12:17:31 +02:00
Timothy Jaeryang Baek
596a9c60d7
Merge pull request #4039 from open-webui/dependabot/pip/backend/dev/rapidocr-onnxruntime-1.3.24
chore(deps): bump rapidocr-onnxruntime from 1.3.22 to 1.3.24 in /backend
2024-07-24 12:17:24 +02:00
Timothy Jaeryang Baek
b42fda0971
Merge pull request #4040 from open-webui/dependabot/pip/backend/dev/duckduckgo-search-approx-eq-6.2.1
chore(deps): update duckduckgo-search requirement from ~=6.1.12 to ~=6.2.1 in /backend
2024-07-24 12:11:10 +02:00
Timothy Jaeryang Baek
cf377d2e1c
Merge pull request #4038 from open-webui/dependabot/pip/backend/dev/unstructured-0.15.0
chore(deps): bump unstructured from 0.14.10 to 0.15.0 in /backend
2024-07-24 12:07:50 +02:00