Commit Graph

628 Commits

Author SHA1 Message Date
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
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