Commit Graph

234 Commits

Author SHA1 Message Date
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
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -07:00
Timothy J. Baek
c32d41b47f refac: about 2024-04-03 21:24:57 -07:00
Timothy J. Baek
4a09342a71 chore: npm audit fix 2024-04-03 10:26:24 -07:00
Timothy J. Baek
fb516ea694 refac: styling 2024-04-02 09:58:34 -07:00
Timothy J. Baek
7c5f6d71b3 refac 2024-04-02 09:39:55 -07:00
Timothy J. Baek
e49e04c56a chore: formatting 2024-04-02 09:33:27 -07:00
Timothy Jaeryang Baek
56369fea3a
Merge branch 'dev' into feature/support_auth_by_api_key 2024-04-02 09:12:19 -07:00
Danny Liu
6bb299ae25 run npm run format 2024-04-01 16:26:05 -07:00
Danny Liu
a0a064f4c8 update initals avatar if user changes name 2024-04-01 16:23:54 -07:00
Danny Liu
40e1e212d4 feat: default profile image with user initials 2024-04-01 16:11:28 -07:00
Timothy J. Baek
d72653cdea fix: download allowed hosts 2024-04-01 14:01:05 -07:00
Timothy Jaeryang Baek
a0935dec60
Merge branch 'dev' into feature/support_auth_by_api_key 2024-03-31 13:48:36 -07:00
Danny Liu
67865fc5ad dynamically adjust --color-gray-950 value for OLED black sidebar 2024-03-27 22:39:47 -07:00
Danny Liu
572eefe181 use 🌃 emoji for oled-dark option 2024-03-27 16:19:57 -07:00
Danny Liu
cf44209730 refac: code style 2024-03-27 16:19:02 -07:00
Danny Liu
dfeadf9595 ordering of themes in select menu, group dark themes together 2024-03-27 16:05:37 -07:00
Danny Liu
25c71d8ac2 Update theme options and persist OLED dark theme if selected 2024-03-27 16:04:34 -07:00
Danny Liu
c24d9d3bea Add 'oled' theme option to themes list 2024-03-27 11:23:00 -07:00
Danny Liu
976c714063 feat: OLED dark theme 2024-03-27 10:50:30 -07:00
liu.vaayne
b4b56f9c85 frontend support api key 2024-03-26 18:24:14 +08:00
Timothy J. Baek
3edc547389 feat: title auto generation for external models 2024-03-26 00:59:57 -07:00
Timothy Jaeryang Baek
a1faa307b1
Merge pull request #1272 from anuraagdjain/feat/cancel-model-download
feat: cancel model download
2024-03-24 18:00:57 -05:00
Timothy J. Baek
c2d6d3230b refac: reset vector db 2024-03-23 20:50:57 -07:00
Timothy J. Baek
98624a406f feat: comfyui integration 2024-03-23 17:01:13 -07:00
Timothy J. Baek
862c96fcef feat: comfyui support 2024-03-23 15:38:59 -07:00
Timothy J. Baek
cbaaacfb75 fix: styling 2024-03-23 13:36:11 -07:00
Timothy Jaeryang Baek
3e0d9ad74f
Merge branch 'dev' into feat/cancel-model-download 2024-03-23 15:16:06 -05:00
Timothy J. Baek
244f34c24e refac: cancel download 2024-03-23 13:12:23 -07:00
Timothy J. Baek
642ca5a94a refac: ui 2024-03-23 12:46:06 -07:00
Anuraag Jain
7e6d499486 refac: remove conosle.log 2024-03-23 21:00:01 +02:00
Anuraag Jain
d291821bf3 refac: delete button UI 2024-03-23 20:56:18 +02:00
Anuraag Jain
45311bfa15 Merge branch 'main' into feat/cancel-model-download
# Conflicts:
#	src/lib/components/chat/Settings/Models.svelte
2024-03-23 18:10:35 +02:00
Timothy J. Baek
9e37d6edcc refac: gguf upload ui 2024-03-22 00:55:59 -07:00
Timothy J. Baek
bc80f1438c fix: ollama gguf upload 2024-03-22 00:10:55 -07:00
Timothy J. Baek
af4caec4f5 refac: ollama gguf upload 2024-03-21 23:45:00 -07:00
Timothy J. Baek
19f69c821f refac: code convention 2024-03-18 00:31:43 -07:00
Timothy J. Baek
8f8a68e002 refac: unnecessary code 2024-03-18 00:30:08 -07:00
Timothy J. Baek
94c845d71f refac 2024-03-18 00:27:48 -07:00
Danny Liu
3c01932a78 run prettier 2024-03-17 01:00:38 -07:00
Danny Liu
41cb6d7a54 remove duplicate "System" in select menu 2024-03-17 00:06:59 -07:00
Danny Liu
f25a967a0b add system theme ⚙️ option to select menu 2024-03-16 23:54:18 -07:00
Danny Liu
f55dae3027 fix merge conflict 2024-03-16 23:27:08 -07:00
Danny Liu
db0712aefd
Merge branch 'dev' into feat/system-wide-theme 2024-03-16 23:23:56 -07:00
Danny Liu
6f3acb347d update theme handling and persist selection using Svelte store 2024-03-16 23:14:13 -07:00
Timothy J. Baek
e664c38377 refac: settings styling 2024-03-16 02:24:32 -07:00
Timothy J. Baek
264eb28455 fix: styling 2024-03-16 02:16:24 -07:00
Timothy J. Baek
df55ced0c0 Merge branch 'dev' into pr/926 2024-03-16 02:08:02 -07:00
Timothy J. Baek
cd92cf0da5 fix: image settings save issue 2024-03-15 02:40:44 -07:00
Ased Mammad
aeb265c789 Update persian translation + run i18n:parse 2024-03-14 23:35:09 +03:30
Jannik Streidl
a65d042c73 title fix + new translation keys 2024-03-14 20:30:30 +01:00
Jannik Streidl
ccc1c81256 added missing translation keys 2024-03-14 14:38:05 +01:00
Jannik Streidl
dbdc602791 added simplified + traditional chinese, updates uk keys, changed standart language code format to xx-XX 2024-03-14 12:10:04 +01:00
Jannik Streidl
aa3985e879 merged from main and added new translation keys 2024-03-14 09:42:37 +01:00
Ased Mammad
1091ee5a9b fix: Typo 2024-03-11 18:54:31 +03:30
Timothy J. Baek
1e9d40af42 feat: update all models 2024-03-10 14:10:32 -07:00
Ased Mammad
7545a717ff Add more translation keys 2024-03-10 22:31:10 +03:30
Ased Mammad
b8902072fd
Merge branch 'dev' into feat/add-i18n 2024-03-10 22:02:16 +03:30
Timothy J. Baek
8a08ba0791 refac: settings save 2024-03-09 22:02:27 -08:00
Timothy J. Baek
c6667510c4 refac: confusing icon 2024-03-09 21:55:13 -08:00
Danny Liu
27153ddb03 remove unused variable 2024-03-09 13:12:15 -08:00
Danny Liu
b94dc767ff implement system wide light/dark mode option 🔦 2024-03-09 12:17:47 -08:00
Timothy J. Baek
219466374d feat: model whitelist 2024-03-09 01:43:02 -08:00
Timothy J. Baek
d40edc09e1 feat: hide litellm by default 2024-03-09 00:50:48 -08:00
Timothy Jaeryang Baek
19700e9074
Merge pull request #1109 from ther0bster/fix-openai-env-var-parsing
fix: parsing of OPENAI_API_BASE_URLS env var
2024-03-08 22:31:57 -05:00
Ased Mammad
f221e39c24 Merge remote-tracking branch 'upstream/dev' into feat/add-i18n 2024-03-09 05:26:39 +03:30
Timothy J. Baek
fe7610d380 fix: disable dall-e image generation w/o key 2024-03-08 17:40:30 -08:00
Timothy J. Baek
0221acd163 feat: dall-e integration 2024-03-08 17:38:10 -08:00
Ased Mammad
c7ca7d03ee Add more translations 2024-03-09 04:03:53 +03:30
Timothy J. Baek
dd3a4b3889 refac: image generation 2024-03-08 16:22:19 -08:00
Timothy J. Baek
404aa62a8a fix: chat list issues 2024-03-08 13:58:56 -08:00
Timothy J. Baek
9881022b11 fix 2024-03-08 13:45:21 -08:00
Timothy J. Baek
9a83bde7e5 feat: max token option for litellm models 2024-03-08 13:41:38 -08:00
Ased Mammad
f605bd96be Update translations 2024-03-07 23:24:15 +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
Jannik Streidl
93ed5851ca spelling + changed to hardcoded text 2024-03-07 16:37:37 +01:00
Jannik Streidl
d40fbcd06b added margin 2024-03-07 16:21:56 +01:00
Jannik Streidl
8c596ea2fc only show the info when language = en (makes more sense to me) 2024-03-07 16:02:14 +01:00
Jannik Streidl
0d127ffef1 merged conflicts 2024-03-07 15:47:15 +01:00
Jannik Streidl
f5afb0ca52 contribution info in the settings 2024-03-07 15:41:18 +01:00
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
Ased Mammad
f55525c680 fix: load languages in an exported function 2024-03-07 14:10:30 +03:30
Timothy J. Baek
a901031896 fix: accept attribute 2024-03-07 02:17:57 -08:00
Ased Mammad
f4a1885298 feat: Get available languages from json file 2024-03-07 13:08:37 +03:30
Timothy Jaeryang Baek
ef9a799e77
Merge pull request #1080 from officialsahyaboutorabi/patch-1
feat: additional file types for uploading models
2024-03-07 00:02:23 -05:00
officialsahyaboutorabi
14c38d31a7
Update Models.svelte 2024-03-07 15:06:12 +11:00
Timothy J. Baek
c255cba198 feat: multiple openai apis 2024-03-06 16:13:25 -08:00
Timothy J. Baek
434595b3e6 fix: delete model list 2024-03-06 11:14:33 -08:00
Timothy Jaeryang Baek
34b6a99601
Merge pull request #1062 from justinh-rahb/fix/gguf-modelfile-template
Remove extra 'S' in 'ASSISTANT'
2024-03-06 13:31:26 -05:00
Justin Hayes
0aa4e3aafb Restore colons 2024-03-06 13:03:39 -05:00
Justin Hayes
7258a794f1 Remove colons and another extra 'S' 2024-03-06 12:59:47 -05:00
Justin Hayes
e4eb32709d Remove extra 'S' in 'ASSISTANT' 2024-03-06 11:08:04 -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
b5b860f575 add: ukrainian translation 2024-03-05 11:52:07 +01:00
Timothy J. Baek
fbdac832bb feat: multiple ollama model management 2024-03-05 02:12:55 -08:00
Timothy J. Baek
f04d60b6d9 feat: multiple ollama support 2024-03-05 00:59:35 -08:00
Jannik Streidl
fcb991db63 fix: darkmode for selects 2024-03-05 09:15:22 +01:00