Commit Graph

608 Commits

Author SHA1 Message Date
Jun Siang Cheah
5eb9b00f8d refac: consolidate chat logic into single component 2024-05-21 18:30:31 +01:00
Timothy J. Baek
6b57d8d370 chore: format 2024-05-21 10:06:26 -07:00
Aly Mobarak
b87cf0db7d
Filters messages before going through to the OpenAI API to not include any empty messages. 2024-05-21 13:30:44 +03:00
Aly Mobarak
a07b89da6f
Updated filter to filter null message objects as well. 2024-05-21 13:30:21 +03:00
Aly Mobarak
8116b04338
Filter message and don't send over any message that has empty contents to OpenAI's API. 2024-05-21 12:07:01 +03:00
Timothy J. Baek
54677a3374 fix 2024-05-20 10:10:35 -07:00
Timothy J. Baek
056c413e23 fix 2024-05-19 18:23:22 -07:00
Timothy J. Baek
3c55773bb2 fix 2024-05-19 18:17:18 -07:00
Timothy J. Baek
a600a32f18 fix 2024-05-19 17:53:21 -07:00
Timothy J. Baek
bcc2bab623 refac 2024-05-19 13:15:41 -07:00
Timothy J. Baek
0260c714d9 refac 2024-05-19 13:11:56 -07:00
Timothy J. Baek
4d27ecef1e fix 2024-05-19 12:06:58 -07:00
Timothy J. Baek
6e6302a4a2 fix 2024-05-19 12:00:10 -07:00
Timothy J. Baek
2abbc9092e fix 2024-05-19 11:54:55 -07:00
Timothy J. Baek
8ec3934599 fix: memory 2024-05-19 08:53:28 -07:00
Timothy J. Baek
febab58821 feat: memory integration 2024-05-19 08:40:46 -07:00
Timothy J. Baek
120f8d7786 refac: regenerate behaviour 2024-05-19 05:53:43 -07:00
Timothy J. Baek
68104358d0 fix: many model regeneration 2024-05-19 05:01:29 -07:00
Timothy J. Baek
676a4dffd0 feat: many model interaction ui 2024-05-19 04:46:35 -07:00
Yanyutin753
c5f13cfdda Expend upload image file types 2024-05-19 19:10:00 +08:00
Timothy J. Baek
8dac4e91a5 fix: share chat issue 2024-05-18 15:23:36 -07:00
Timothy J. Baek
a8b92e5e9d fix: display username in shared chats 2024-05-18 14:19:48 -07:00
Timothy J. Baek
5b2369da5d fix: #2332 2024-05-17 10:56:16 -07:00
Timothy J. Baek
01a656cc80 feat: numpy, pandas support 2024-05-16 20:25:55 -10:00
Timothy J. Baek
58a13aec7e feat: python code execution 2024-05-16 17:49:28 -10:00
Timothy J. Baek
e29a999dc9 fix: add user modal error handling 2024-05-15 19:01:02 -10:00
Timothy J. Baek
39f91e39a7 feat: openwebui community backward compatibility 2024-05-15 14:40:52 -10:00
Timothy J. Baek
d4c193060e fix: styling 2024-05-15 08:20:36 -10:00
Timothy J. Baek
13019acce6 refac: styling 2024-05-14 22:09:32 -10:00
Timothy J. Baek
5079d5ec87 refac: styling 2024-05-14 21:26:54 -10:00
Timothy J. Baek
1d98099099 refac: admin panel styling 2024-05-14 20:48:46 -10:00
Timothy J. Baek
e9decf2dda refac: styling 2024-05-14 20:31:22 -10:00
Timothy J. Baek
c45bb64de7 refac: styling 2024-05-14 20:16:22 -10:00
Timothy J. Baek
de75679ffb fix: sidebar model selector issue 2024-05-14 12:26:53 -10:00
Jun Siang Cheah
5369023e34 fix: rag, chat deletion, and webhook after config persistence change 2024-05-14 14:30:15 +08:00
Aarni Koskela
df167d8785 fix: load i18n for /error page 2024-05-13 18:00:30 +03:00
Jun Siang Cheah
3113825895 feat: better handle openai errors, add error message to message 2024-05-11 16:34:04 +08:00
Timothy J. Baek
01472c071b feat: support webui_auth false
#929
2024-05-08 08:40:18 -07:00
Jannik Streidl
55321a3b12 Added new translation strings + 1 i18n kkey 2024-05-07 07:34:42 +02:00
Timothy J. Baek
e3a49c8e9b fix: styling 2024-05-06 18:50:50 -07:00
Timothy J. Baek
f58eb0d266 feat: browser search engine support 2024-05-06 17:29:16 -07:00
Jun Siang Cheah
0872bea790 feat: show RAG query results as citations 2024-05-06 16:14:10 -07:00
Timothy J. Baek
07b39d1cb9 refac: document settings 2024-05-06 14:36:36 -07:00
Jannik Streidl
e31cf08188 merged conflicts in PL locale 2024-05-06 08:57:18 +02:00
Timothy J. Baek
c0fbf1e7d0 refac: styling 2024-05-04 02:11:23 -07:00
Timothy J. Baek
1c39e5cff9 refac: styling 2024-05-04 02:05:09 -07:00
Timothy J. Baek
61a8f73291 fix: selector styling 2024-05-02 17:14:33 -07:00
Timothy J. Baek
a2ebbd02ad fix: styling 2024-05-02 15:11:20 -07:00
Jannik Streidl
e57c0c301c resolved conflicts #2 2024-05-02 21:46:24 +02:00
Timothy J. Baek
5cf621396d refac: navbar selector styling 2024-05-02 12:33:04 -07:00
Timothy J. Baek
d680d52b85 feat:'@' model support 2024-05-02 02:20:57 -07:00
Timothy J. Baek
5613af032d fix: styling 2024-05-02 00:07:04 -07:00
Timothy J. Baek
8fb5e22e43 refac: placeholder fade in effect 2024-05-01 23:41:12 -07:00
Timothy J. Baek
b19e05669e fix: styling 2024-05-01 23:11:16 -07:00
Timothy J. Baek
a433315346 feat: disable all actions for admins 2024-05-01 19:50:23 -07:00
Timothy J. Baek
77cc3b5470 feat: disable admin chatlist by default 2024-05-01 19:47:54 -07:00
Timothy J. Baek
bd3b5f1edb feat: csv user import frontend 2024-05-01 19:02:25 -07:00
Timothy J. Baek
3431a93499 fix: safari styling 2024-05-01 18:10:49 -07:00
Timothy J. Baek
8745091a16 chore: i18n 2024-05-01 18:07:29 -07:00
Timothy J. Baek
b7fcf14f6e refac: styling 2024-05-01 17:55:18 -07:00
Timothy J. Baek
0595c04909 feat: youtube rag 2024-05-01 17:17:00 -07:00
Timothy J. Baek
3c9fc7858b fix: styling 2024-04-30 16:34:29 -07:00
Timothy J. Baek
18e5c2e4cb refac: styling 2024-04-30 14:56:06 -07:00
Jun Siang Cheah
e8bf596959 feat: switch OpenAI SSE parsing to eventsource-parser 2024-04-30 20:56:58 +01:00
Jannik Streidl
30d1048099 resolved the conflicts 😍 2024-04-30 11:33:05 +02:00
Jannik Streidl
142f82bae5 Added some i18n keys & updated german locale 2024-04-30 10:46:16 +02:00
Jannik Streidl
afc78b0277 ran i18n parser to add the new translation keys 2024-04-28 18:47:12 +02:00
Jannik Streidl
19843e39fd Added more german translations + added more i18n keys 2024-04-28 14:39:06 +02:00
Timothy J. Baek
e71ef42155 fix: stop seq backslash issue 2024-04-27 20:46:34 -04:00
Timothy J. Baek
7f3daa19cd fix: stop seq backslash issue
#1747
2024-04-27 20:45:09 -04:00
Timothy J. Baek
ebeaa24e9d refac 2024-04-27 19:48:46 -04:00
Timothy J. Baek
e2447dd0a7 refac: better layout loading 2024-04-27 19:47:11 -04:00
Timothy J. Baek
2feba8af94 fix: font fallback issue
#1556
2024-04-27 19:42:55 -04:00
Timothy J. Baek
9094536d37 feat: user last active 2024-04-27 19:38:51 -04:00
Timothy J. Baek
f0da5b9ea4 refac 2024-04-27 19:02:37 -04:00
Timothy J. Baek
9ef843d492 refac: splash screen 2024-04-27 18:59:20 -04:00
Timothy J. Baek
979c4290f7 feat: splash screen support 2024-04-27 18:50:26 -04:00
Timothy J. Baek
bcf78b4efa feat: show user chats in admin panel 2024-04-27 18:24:59 -04:00
Jun Siang Cheah
c095a7c291 feat: abort openai text completion when stopping responses 2024-04-27 21:53:47 +01:00
Timothy J. Baek
f8f9f27ae8 chore: comment 2024-04-26 22:44:10 -04:00
Timothy J. Baek
790a305c55 chore: disable unmaintained themes 2024-04-26 22:33:39 -04:00
Timothy J. Baek
f63866b72a feat: loading indicator 2024-04-26 17:43:42 -04:00
Timothy J. Baek
232de33a86 fix: toast 2024-04-24 21:50:04 -04:00
Timothy Jaeryang Baek
2d7d6cfffc
Merge pull request #1630 from cheahjs/feat/split-large-chunks
feat: split large openai responses into smaller chunks
2024-04-22 13:56:26 -07:00
Jun Siang Cheah
67df928c7a feat: make chunk splitting a configurable option 2024-04-21 11:00:33 +01:00
Jun Siang Cheah
7e5bda6016 fix: use model name when outputting error message 2024-04-20 21:24:02 +01:00
Jun Siang Cheah
efa258c695 feat: split large openai responses into smaller chunkers 2024-04-20 20:34:23 +01:00
Timothy J. Baek
9dad7e7c9a fix 2024-04-17 15:22:21 -05:00
Timothy J. Baek
236e2c040c refac 2024-04-16 17:08:50 -05:00
Timothy Jaeryang Baek
6238495d61
Merge pull request #1395 from 7a6ac0/admin_pagination
feat: admin panel user list pagination
2024-04-14 13:23:36 -07:00
Timothy J. Baek
b25e3ed364 refac 2024-04-14 16:19:46 -04:00
Timothy J. Baek
1fa3bf6793 fix: semi-lazy load 2024-04-14 15:44:19 -04:00
tabacoWang
8a9cf44dbc feat: combine with search result 2024-04-11 14:00:28 +08:00
tabacoWang
872ea83c50 feat: admin panel user list pagination 2024-04-11 14:00:28 +08:00
Timothy J. Baek
da9a54288e fix: styling 2024-04-08 03:11:00 -07:00
Timothy J. Baek
72110c293a refac: admin panel styling 2024-04-07 01:52:58 -07:00
Timothy Jaeryang Baek
02d3fb427b
Merge pull request #1386 from dannyl1u/feat/profile-image-initials
feat: default profile image with user initials
2024-04-06 23:59:20 -07:00
Timothy J. Baek
f267f3f7b0 refac 2024-04-06 23:16:29 -07:00
Self Denial
924ebf035b Fix: Restore Gravatar functionality, add button initials, toast duration
- Restore Gravatar functionality
- Add new button for "Use Initials"
- Set both buttons to use text-left class
- Update toast property autoClose to duration (wrong library, my bad!)
- Update toast messages to clarify that this isn't "Gravatar" but "avatar"
- Add i18n text to en-US/translation.json
2024-04-06 16:04:05 -06:00
Danny Liu
bee0338763 captalize Initial for improved clarity 2024-04-06 02:23:32 -07:00
Danny Liu
8a7075c3bf style: npm run format 2024-04-06 01:13:22 -07:00
Danny Liu
78565e554b notify user with toast.info() + update toast message 2024-04-06 01:12:51 -07:00
Self Denial
ae9922a2cd Re-word account creation error to be more descriptive 2024-04-05 22:58:40 -06:00
Self Denial
bad7dca51e Move login page toast error to the bottom of page and enable i18n for translation 2024-04-05 22:43:42 -06:00
Self Denial
69716a5cec Revert "omit canvas spoofing toast.error for signups"
This reverts commit 1af62a70f0.
2024-04-05 22:31:40 -06:00
Danny Liu
1af62a70f0 omit canvas spoofing toast.error for signups 2024-04-05 21:16:48 -07:00
Danny Liu
5694f16624 style: run npm run format 2024-04-05 21:02:02 -07:00
Self Denial
ac9308dbed Introduce canvasPixelTest() intended to validate canvas functionality
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate:

* Add canvasPixelTest() to test a single pixel and test the RGB values
* Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected
* Call canvasPixelTest() directly within settings to avoid setting an invalid image
* Use toast.error() with 10 second autoClose
2024-04-05 16:04:00 -06:00
Danny Liu
a2bd9b8639 style: npm run format 2024-04-04 12:10:45 -07:00
Danny Liu
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -07:00
Timothy J. Baek
000bea84ae feat: chat pdf download 2024-04-03 19:30:25 -07:00
Timothy Jaeryang Baek
24fb77759e
Merge pull request #1347 from cheahjs/feat/trusted-email-header
feat: allow authenticating with a trusted email header
2024-04-02 09:11:25 -07:00
Timothy J. Baek
807a60cccf fix: styling 2024-04-02 09:01:15 -07:00
Timothy J. Baek
b9b1d64bd5 refac: styling 2024-04-02 08:58:03 -07:00
Timothy J. Baek
7e6a00b009 refac: share chat page 2024-04-02 08:58:03 -07:00
Timothy J. Baek
287c95e72d refac: dedicated shared chat page 2024-04-02 08:58:03 -07:00
Jun Siang Cheah
7978adbf45 feat: add frontend support for locally sharing chats 2024-04-02 08:58:03 -07:00
Timothy J. Baek
eda157e303 fix: openai issue 2024-03-31 21:02:29 -07:00
Jun Siang Cheah
562e40a7bd Merge branch 'dev' into feat/trusted-email-header 2024-03-31 22:08:58 +01:00
Timothy J. Baek
15f4153fda fix: openai isseu 2024-03-29 18:24:30 -07:00
Timothy J. Baek
1371e66ed9 fix: litellm title generation issue 2024-03-29 18:14:05 -07:00
Timothy J. Baek
f96beeee8f fix: litellm issue 2024-03-29 17:55:40 -07:00
Timothy J. Baek
0c367412c3 feat: navbar ui update 2024-03-29 17:20:07 -07:00
Timothy J. Baek
047c9fe82c fix: styling 2024-03-29 13:02:38 -07:00
Timothy J. Baek
242311aee1 fix: styling 2024-03-29 12:44:16 -07:00
Ased Mammad
50089710f3 fix: Add new model selector to playground 2024-03-29 00:19:53 +03:30
Jun Siang Cheah
50f6addd6f feat: auto signup/login with WEBUI_AUTH_TRUSTED_EMAIL_HEADER 2024-03-28 10:34:57 +00:00
Timothy Jaeryang Baek
c6bb0ded5e
Merge pull request #1313 from asedmammad/feat/i18n-navigator-config
feat: Configurable i18n default translation language
2024-03-27 23:52:26 -07:00
Jun Siang Cheah
29f13f34d3 feat: add WEBUI_AUTH_TRUSTED_EMAIL_HEADER for authenticating users by a trusted header
This is very yolo code, use at your own risk
2024-03-27 09:28:03 +00:00
Timothy Jaeryang Baek
7d45d2762f
Merge pull request #1311 from AndrewRyanChama/arc/openaitick
Add wait for tick before scrolling down in openai
2024-03-26 21:51:04 -07:00
Ased Mammad
0c021e42f5 rename config key to default_locale 2024-03-26 23:15:51 +03:30
Ased Mammad
26121c5d88 wip: Set default language from config 2024-03-26 23:01:23 +03:30
Andrew Ryan
d245b756a3 Add wait for tick before scrolling down in openai
We had this wait on ollama but not for openai, causing it to fail
to scroll down in certain cases.

This fixes the issue.
2024-03-26 11:46:22 -07:00
Timothy J. Baek
d12a7247bc fix: missing import 2024-03-26 01:47:33 -07:00
Timothy J. Baek
941bb7c603 refac: chat[id] page 2024-03-26 01:45:25 -07:00
Timothy J. Baek
3edc547389 feat: title auto generation for external models 2024-03-26 00:59:57 -07:00
Timothy J. Baek
244f34c24e refac: cancel download 2024-03-23 13:12:23 -07:00
Timothy Jaeryang Baek
c3dd11de16
Merge pull request #1196 from fbirlik/patch-autoscrolldisable
fix: auto scroll fails to stop with small scroll amounts
2024-03-18 11:57:34 -05:00
Firat Birlik
adbcb06892 fix: auto scroll fails to stop with small scroll amounts 2024-03-18 00:08:45 -05:00
Timothy J. Baek
e414b9ea6d fix: typo 2024-03-16 03:28:02 -07:00
Timothy J. Baek
df55ced0c0 Merge branch 'dev' into pr/926 2024-03-16 02:08:02 -07:00
Jannik Streidl
a65d042c73 title fix + new translation keys 2024-03-14 20:30:30 +01:00
Timothy J. Baek
3790790a18 fix: possible fix for #1139 2024-03-12 13:47:49 -07:00
Timothy J. Baek
5a567ce4d0 fix: message after image generation 2024-03-12 13:43:49 -07:00
Ased Mammad
b8902072fd
Merge branch 'dev' into feat/add-i18n 2024-03-10 22:02:16 +03:30
Timothy J. Baek
bd84753c6b feat: title auto-generate for openai apis 2024-03-09 21:52:19 -08:00
Timothy J. Baek
219466374d feat: model whitelist 2024-03-09 01:43:02 -08:00
Timothy J. Baek
d936353da0 fix: message type edge case 2024-03-08 23:19:20 -08:00
Timothy J. Baek
6c58bb59be feat: rag docs as payload field 2024-03-08 22:43:06 -08:00
Timothy J. Baek
c49491e516 refac: rag to backend 2024-03-08 22:34:47 -08:00