Commit Graph

205 Commits

Author SHA1 Message Date
Michael Poluektov
2e3146263c put tool_ids and files in metadata 2024-08-20 15:41:49 +01:00
Michael Poluektov
bcbcd5fde9 Merge branch 'dev' of https://github.com/open-webui/open-webui into tools-refac-2.1 2024-08-20 14:56:47 +01:00
Michael Poluektov
c89df923c5 fix import error 2024-08-19 16:52:42 +01:00
Michael Poluektov
556bc8669a remove config options for now 2024-08-19 16:50:52 +01:00
Timothy J. Baek
89ba98e927 enh: better pdf CJK language support 2024-08-19 17:50:42 +02:00
Timothy J. Baek
0fa85c5c64 enh: enable message rating setting 2024-08-19 15:16:49 +02:00
Michael Poluektov
13c03bfd7d add __tools__ custom param 2024-08-19 11:08:27 +01:00
Craig Quiter
d2f10d50bf Allow seting CORS origin 2024-08-18 14:19:29 -07:00
Michael Poluektov
d598d4bb93 typing and tweaks 2024-08-14 21:40:00 +01:00
Michael Poluektov
a518d50477 format backend 2024-08-14 13:49:18 +01:00
Michael Poluektov
29f904db45 remove List imports 2024-08-14 13:46:31 +01:00
Michael Poluektov
038fc48ac0 replace == None with is None 2024-08-14 13:39:53 +01:00
Michael Poluektov
6f72def1ac replace except: with except Exception: 2024-08-14 13:38:19 +01:00
Timothy Jaeryang Baek
9682806476
Merge pull request #4372 from JTHesse/main
build: Adding ability to install requirements from frontmatter for tools and functions
2024-08-13 18:18:26 +02:00
Jan-Timo Hesse
367fa039a0 added install_frontmatter_requirements 2024-08-08 09:46:14 +02:00
Timothy Jaeryang Baek
670f28d694
Merge branch 'dev' into remove-ollama 2024-08-07 23:06:11 +02:00
Carter Roeser
d72d5d0e8e feat: Add OAuth Email Claim Variable
Add an `OAUTH_EMAIL_CLAIM` variable to override the default "email" claim value.
2024-08-07 11:39:51 -07:00
Michael Poluektov
fc31267a54 refac: re-use utils.misc 2024-08-06 11:31:45 +01:00
Timothy Jaeryang Baek
003ceff7e4
Merge pull request #4349 from open-webui/dev-scroll
feat: Sidebar infinite scroll (pagination)
2024-08-04 17:36:18 +02:00
Timothy J. Baek
209ccdf668 refac 2024-08-04 17:35:26 +02:00
Timothy J. Baek
49677e9c9d refac 2024-08-04 17:04:15 +02:00
Jun Siang Cheah
73954f4a63 fix: admins viewing shared chats with ENABLE_ADMIN_CHAT_ACCESS set to false 2024-08-04 16:00:52 +01:00
Timothy J. Baek
a084938d9c refac: chatlist skip, limit -> page 2024-08-04 16:58:08 +02:00
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
389d650ee3
Merge pull request #4266 from thearyadev/sidebar-pagination
feat: Sidebar infinite scroll (pagination)
2024-08-04 15:33:09 +02:00
Aryan Kothari
6847c2fc8c Merge branch 'origin/dev' into sidebar-pagination [skip ci] 2024-08-03 09:57:54 -04:00
Michael Poluektov
12c21fac22 refac: apps/openai/main.py and utils 2024-08-03 14:24:26 +01: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
Aryan Kothari
519375b4c0 add: skip and limit use in query
- limit default changed to -1
2024-08-01 15:13:45 -04: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
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
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 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
Dillon
36b94ca5f5 updated environment variable to suggested ENABLE_LOGIN_FORM 2024-07-24 21:44:40 -04: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
Dillon
709b56bc40 imported and added new ENABLE_USERNAME_PASSWORD_LOGIN environment variable 2024-07-23 22:19:41 -04:00
Aryan Kothari
f531a51e91 chore: formatting 2024-07-22 14:45:47 -04:00
Aryan Kothari
a0667dfd1b change /chats/ and /chats/list to utilize new function 2024-07-22 14:09:22 -04:00
Aryan Kothari
2b78e613a4 add func to get chat list with more specific sql query 2024-07-22 14:08:15 -04:00
Timothy J. Baek
dbc352f01b refac: documents file handling 2024-07-15 13:05:38 +02:00