Commit Graph

575 Commits

Author SHA1 Message Date
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
Ased Mammad
c7ca7d03ee Add more translations 2024-03-09 04:03:53 +03:30
Ased Mammad
48e8b45dc9 fix: issue with nbsp in i18next-parser 2024-03-09 03:11:45 +03:30
Timothy J. Baek
04ddbf4306 fix: button click issue 2024-03-07 11:07:27 -08:00
Ased Mammad
f73cae2a73 format some files with prettier 2024-03-07 22:21:00 +03:30
Ased Mammad
3fa5144cf6 fix: Add missing english translations 2024-03-07 20:39:43 +03:30
Ased Mammad
f7e10e1fb6 Update translations 2024-03-07 16:35:56 +03:30
Ased Mammad
7031aa14e8
Merge branch 'dev' into feat/add-i18n 2024-03-07 15:41:42 +03:30
Timothy J. Baek
c255cba198 feat: multiple openai apis 2024-03-06 16:13:25 -08:00
Timothy Jaeryang Baek
20284dc66d
Merge pull request #1004 from dannyl1u/refac/delete-message
refac: delete message logic
2024-03-06 03:57:40 -05:00
Ased Mammad
25e0f0de42 Merge remote-tracking branch 'upstream/dev' into feat/add-i18n 2024-03-06 01:25:29 +03:30
Ased Mammad
66342140a3 fix: use translation key as fallback + more translations 2024-03-05 15:28:54 +03:30
Jannik Streidl
7f9049c3a1 add: added Playground + AddFilesPlaceholder translation 2024-03-05 11:44:37 +01:00
Timothy J. Baek
1fad6e10cd feat: allow model switching mid convo 2024-03-05 02:37:05 -08:00
Timothy J. Baek
8d34324d12 feat: cancel request
Resolves #1006
2024-03-05 01:41:22 -08:00
Timothy J. Baek
8fd7bc342d refac: error message 2024-03-05 01:07:59 -08:00
Jannik Streidl
b9f53abf37 fix: show translated user role in admin panel 2024-03-05 09:30:00 +01:00
Timothy J. Baek
475105473c feat: tooltip aria label 2024-03-04 13:58:39 -08:00
Ased Mammad
5f5b6ec141 feat: add persian translation for new keys 2024-03-05 00:47:43 +03:30
Ased Mammad
ec8f229f5a fix: make translation key naming consistent 2024-03-04 16:48:08 +03:30
Jannik Streidl
d4fd6c5a57 merged new updates 2024-03-04 11:53:09 +01:00
Jannik Streidl
7a79aab5d4 (probably) last transition vars + Theme select element bg and icon fix 2024-03-04 11:15:54 +01:00
Jannik Streidl
3fe5f00114 more translations 2024-03-04 09:53:56 +01:00
Carlos Daniel Vilaseca
7a30dbc839 rf: added Element to variable names 2024-03-03 23:05:16 -05:00
Carlos Daniel Vilaseca
b986c2aefd rf: dom queries in layout and pages 2024-03-03 23:02:11 -05:00
Jannik Streidl
893b738cbf german translations + new vars 2024-03-03 12:22:29 +01:00
Ased Mammad
670b65c066 fix: add missed imports 2024-03-03 13:34:26 +03:30
Ased Mammad
6d2f462090 fix: add missed translations 2024-03-03 13:31:34 +03:30
Danny Liu
f9f3fe5ec0 refac delete logic 2024-03-02 23:23:49 -08:00
Timothy J. Baek
47a05a47b4 feat: add rag top k value setting 2024-03-02 18:56:57 -08:00
Timothy J. Baek
9201769ba5 refac: unused style 2024-03-02 18:35:33 -08:00
Timothy J. Baek
79d7e135ec refac 2024-03-02 18:35:19 -08:00
Timothy J. Baek
bf3f3c580e fix: text completion 2024-03-02 18:23:27 -08:00
Timothy J. Baek
901e7a33fa feat: chat playground backend integration 2024-03-02 18:16:02 -08:00
Timothy J. Baek
656f8dab05 feat: playground chat mode 2024-03-02 17:11:48 -08:00
Ased Mammad
3c471ee2ca feat: Migrate hardcoded strings to i18n calls 2024-03-03 00:56:24 +03:30
Timothy J. Baek
06ce5aed4a fix: text completion replaced with chat completion 2024-03-02 13:14:14 -08:00
Ased Mammad
fab89a76b1 feat: WIP: Initial setup for i18next 2024-03-02 14:47:37 +03:30
Timothy J. Baek
2379e94cbf feat: text completion playground 2024-03-02 03:01:44 -08:00
Timothy J. Baek
6f4a863562 feat: dark mode auth page 2024-03-01 22:52:21 -08:00
Timothy Jaeryang Baek
a7ae141301
Merge pull request #982 from jannikstdl/svelte-sonner
ui: svelte-french-toast -> svelte-sonner
2024-03-02 01:41:49 -05:00
Timothy J. Baek
2564b154fc fix: toast position 2024-03-01 22:40:55 -08:00
Timothy J. Baek
78d9c469a2 feat: title for all routes 2024-03-01 22:38:04 -08:00
Timothy J. Baek
e5c812f1d2 refac 2024-03-01 22:35:08 -08:00
Jannik Streidl
8461b92f08 show chat in browser title + scroll to bottom 2024-03-01 21:18:17 +01:00
Jannik Streidl
705f5aecd7 svelte-sonner migration 2024-03-01 10:18:07 +01:00
Timothy J. Baek
3fd55ebc32 fix: openai convo 2024-02-28 02:18:58 -08:00
Timothy J. Baek
260a8b8b83 feat: chat input focus on new chat 2024-02-27 19:56:52 -08:00
Timothy J. Baek
92c922b061 feat: batch doc tagging 2024-02-25 21:39:10 -08:00
Timothy J. Baek
63628a70a6 feat: document select 2024-02-25 21:16:11 -08:00
Timothy J. Baek
f8cf43c0f7 refac: console logs removed 2024-02-25 16:13:34 -08:00
Timothy J. Baek
42251c232a fix: default model load issue 2024-02-25 16:09:05 -08:00
Timothy J. Baek
1ff0c9a95d fix: continue generation 2024-02-25 15:46:12 -08:00
Timothy J. Baek
8f4a12b479 refac: styling 2024-02-25 13:45:24 -08:00
Timothy J. Baek
759883a4c8 feat: check for updates 2024-02-25 11:55:15 -08:00
Timothy J. Baek
fdb6499bfa fix: error handling 2024-02-24 01:49:19 -08:00
Timothy J. Baek
e8904ac3f7 feat: remove ollama dependency 2024-02-24 01:03:28 -08:00
Timothy J. Baek
af388dfe62 fix 2024-02-23 22:27:28 -08:00
Timothy Jaeryang Baek
ee22e641ff
Merge branch 'main' into litellm 2024-02-24 01:10:04 -05:00
Timothy J. Baek
62f67bed29 feat: sponsor custom name support 2024-02-23 17:12:19 -08:00
Timothy Jaeryang Baek
8fac9de269
Merge branch 'main' into release-notes-modal 2024-02-23 04:07:16 -05:00
Timothy J. Baek
3ab2c384f2 fix: changelog popup default behaviour 2024-02-23 00:50:54 -08:00
Timothy J. Baek
05aea9edf9 feat: changelog modal auto popup 2024-02-23 00:47:54 -08:00
Timothy J. Baek
9f950aea9c feat: changelog.md 2024-02-23 00:30:26 -08:00
Timothy Jaeryang Baek
9c1aa92451
Merge branch 'main' into feat/delete-message 2024-02-22 20:57:46 -05:00
Timothy J. Baek
9b6dca3d7f feat: litellm frontend integration 2024-02-22 04:12:26 -08:00
Jannik Streidl
230f787da1 first draft 2024-02-22 11:54:55 +01:00
Timothy J. Baek
05ea6cf6fd feat: enable title generation prompt edit 2024-02-21 12:51:52 -08:00
Danny Liu
95b8edf6b3 use cancelChatCompletion API call instead of stopResponse function 2024-02-20 16:00:57 -08:00
Danny Liu
51b594036d invoke stopResponse() if user deletes message during response generation 2024-02-20 15:27:47 -08:00
Danny Liu
632882a511 add message filtering in +page.svelte to filter out deleted messages in payload 🗑️ 2024-02-20 15:12:50 -08:00
Danny Liu
cd3cecd2f0 filter out deleted messages in payload 🗑️ 2024-02-20 13:53:47 -08:00
Timothy J. Baek
9ae4ad9702 refac: styling 2024-02-19 19:43:41 -08:00
Timothy J. Baek
00f9b2ffcf rename 2024-02-19 11:47:37 -08:00
Timothy J. Baek
6fd13c1c55 feat: sidebar button to anchor 2024-02-19 10:45:12 -08:00
Timothy J. Baek
4c62f6a7ce refac: styling 2024-02-18 19:52:28 -08:00
Timothy J. Baek
82fcec826c refac: styling 2024-02-18 19:32:03 -08:00
Timothy J. Baek
c419949bf9 refac: admin panel styling 2024-02-18 17:00:48 -08:00
Timothy J. Baek
e41f956b72 feat: clone preset 2024-02-18 15:53:54 -08:00
Timothy J. Baek
7c7a80c450 feat: CLIPBOARD variable for prompt preset 2024-02-17 23:28:07 -08:00
Timothy J. Baek
5270efa9e5 feat: editable rag template 2024-02-17 22:41:03 -08:00
Timothy J. Baek
e07001e5f6 feat: rag folder scan support 2024-02-17 21:06:08 -08:00
Timothy J. Baek
7474a8d4d3 fix: styling 2024-02-17 01:09:24 -08:00
Timothy J. Baek
4ceed09db5 fix: styling 2024-02-17 01:02:01 -08:00
Timothy J. Baek
acf5c938ef feat: rename to open-webui 2024-02-16 23:04:37 -08:00
Timothy J. Baek
5bcbb7810e feat: stop continue regeneration 2024-02-16 13:56:50 -08:00
Timothy J. Baek
0e8765a763 fix: mobile viewport 2024-02-16 13:23:11 -08:00
Timothy J. Baek
dc322084bb refac: styling 2024-02-15 20:26:24 -08:00
Timothy J. Baek
74a3900ad0 refac 2024-02-15 20:18:05 -08:00
Timothy J. Baek
2c2c2fd889 refac 2024-02-15 20:10:48 -08:00
Timothy J. Baek
0d39a9fe0e refac: styling 2024-02-15 16:36:35 -08:00
Timothy J. Baek
e99d69bfe2 refac: styling 2024-02-15 16:20:46 -08:00
Timothy J. Baek
db08ad964c fix: styling 2024-02-15 14:46:38 -08:00
Timothy J. Baek
9c082f1ba0 feat: sidebar styling 2024-02-15 14:43:10 -08:00
Timothy J. Baek
2c1184fec2 fix: title 2024-02-15 01:30:27 -08:00
Timothy J. Baek
26438c29d5 feat: continue generation 2024-02-15 01:23:02 -08:00
Timothy J. Baek
493207e9a7 fix: styling 2024-02-15 00:37:11 -08:00
Timothy J. Baek
6603a40b4a fix: classnames 2024-02-15 00:36:17 -08:00
Timothy J. Baek
27ae4d0d82 feat: fullscreen mode 2024-02-15 00:34:55 -08:00
Arthur25
ee1c37f70e Replaced old .ai TLD with new .com TLD 2024-02-14 23:17:45 +01:00
Timothy J. Baek
511e939b5d feat: admin settings 2024-02-14 01:17:43 -08:00
Zohaib Rauf
7053f2f67d Added Keep alive setting 2024-02-12 23:35:31 -08:00
Timothy J. Baek
9c24ff514c fix: wording 2024-02-11 17:57:56 -08:00
Timothy J. Baek
c41071a9b0 feat: idiot proof signup message 2024-02-11 16:22:47 -08:00
Timothy J. Baek
91eb79aea5 Update +page.svelte 2024-02-10 17:13:55 -08:00
Timothy J. Baek
e289abeac5 fix: styling 2024-02-10 17:13:42 -08:00
Timothy J. Baek
223f17baf9 feat: remove hardcoded names 2024-02-09 19:14:26 -08:00
Timothy J. Baek
40d8605fea fix: tts playback 2024-02-09 16:37:21 -08:00
Timothy J. Baek
5eff0e5f61 feat: tts automatic playback 2024-02-09 16:00:39 -08:00
Timothy J. Baek
965cf0d25f feat: styling update 2024-02-07 17:55:19 -08:00
Timothy J. Baek
d22813a89e feat: styling update 2024-02-07 17:15:01 -08:00
Timothy J. Baek
0682a4a361 feat: bulk document upload 2024-02-06 00:59:26 -08:00
Timothy J. Baek
cd9f0135f6 refac: settings 2024-02-05 01:58:54 -08:00
Timothy J. Baek
713877772e fix: documents tags 2024-02-04 11:26:54 -08:00
Timothy J. Baek
5e87717d8b chore: styling fix 2024-02-04 01:17:09 -08:00
Timothy J. Baek
6c7c35ad12 feat: include only last images 2024-02-04 00:29:40 -08:00
Timothy J. Baek
683650ec00 feat: collection rag integration 2024-02-03 15:57:06 -08:00
Timothy J. Baek
f448a4b385 feat: doc filter by tag 2024-02-03 15:17:00 -08:00
Timothy J. Baek
f538c9a1be feat: display doc tags 2024-02-03 15:00:16 -08:00
Timothy J. Baek
00803c92f2 feat: doc tagging 2024-02-03 14:44:49 -08:00
Timothy J. Baek
1d0eaec37e refac: queryVectorDB renamed to queryCollection 2024-02-02 22:57:18 -08:00
Timothy J. Baek
50f7b20ac2 refac 2024-02-01 13:35:41 -08:00
Timothy J. Baek
485236624f feat: drag and drop document anywhere 2024-02-01 13:17:47 -08:00
Timothy J. Baek
250ccd828d fix: openai compatible api rag issue 2024-01-25 14:38:21 -08:00
Timothy J. Baek
da16d43be0 fix: rag message body format 2024-01-25 01:36:45 -08:00
Timothy Jaeryang Baek
d517a3ebb4
Merge pull request #547 from Marclass/main
feat: Add reStructuredText specific parser for RAG
2024-01-22 22:19:41 -08:00
Timothy J. Baek
29dd973db9 refac: frontend supported file extensions 2024-01-22 22:18:12 -08:00
Timothy J. Baek
ef68719b7d Update +page.svelte 2024-01-22 21:53:48 -08:00
Timothy J. Baek
c4a039326f feat: editable prompt suggestions integration 2024-01-22 21:53:13 -08:00
Timothy Jaeryang Baek
f079cb6b56
Merge pull request #524 from Marclass/rag-arbitrary-files
feat: Allow RAG on XML and arbitrary text files including source code
2024-01-19 00:09:04 -08:00
Marclass
aa1d386042 Allow any file to be used for RAG.
Changed RAG parser to prefer file extensions over MIME content types. If the type of file is not recognized assume it's a text file.
2024-01-18 20:41:14 -07:00
Timothy J. Baek
220530c450 feat: convo tag filtering 2024-01-18 02:55:25 -08:00
Timothy J. Baek
1eec176313 feat: save tags to chat data 2024-01-18 02:17:31 -08:00
Timothy J. Baek
987685dbf9 feat: convo tagging full integration 2024-01-18 02:10:07 -08:00