Commit Graph

350 Commits

Author SHA1 Message Date
Timothy J. Baek
cbd18ec63c feat: external openai tts support 2024-04-20 16:00:24 -05:00
Entaigner
76bd77bc56 Enable translation for chat suggestion placeholders (settings>interface) 2024-04-19 23:13:17 +02:00
Self Denial
922628c1ee feat: small change to support ollama pull QOL
Use regex replace during trim "sanitize" to support `ollama run ` or `ollama pull ` syntax.
2024-04-13 03:04:11 -06:00
Timothy J. Baek
073aecd427 refac: styling 2024-04-07 00:31:59 -07:00
Timothy J. Baek
47aeab81d8 refac: styling 2024-04-07 00:05:13 -07:00
Timothy J. Baek
f4e165d028 chore: comments removed 2024-04-07 00:00:50 -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
df2cb16086 refac: styling 2024-04-06 23:49:25 -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
Timothy J. Baek
8110a872d5 fix: wording 2024-04-06 13:29:39 -07: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
cf54adf5c4 Toast error consistency 2024-04-05 23:01:48 -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
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
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
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
fe040ce82b rf: dom queries in Models component 2024-03-03 17:35:07 -05:00
Carlos Daniel Vilaseca
f4f6724d96 rf: dom queries in Chats component 2024-03-03 17:34:38 -05:00
Carlos Daniel Vilaseca
a5c1ac9680 rf: dom queries in Account component 2024-03-03 17:32:04 -05:00
Jannik Streidl
893b738cbf german translations + new vars 2024-03-03 12:22:29 +01:00
Ased Mammad
6d2f462090 fix: add missed translations 2024-03-03 13:31:34 +03:30
Timothy J. Baek
901e7a33fa feat: chat playground backend integration 2024-03-02 18:16:02 -08:00
Ased Mammad
fbed07f651 fix: Merge similar string literals 2024-03-03 01:23:41 +03:30
Ased Mammad
3c471ee2ca feat: Migrate hardcoded strings to i18n calls 2024-03-03 00:56:24 +03:30
Ased Mammad
7a77f3c2c0 feat: Change translation keys to fallback strings 2024-03-02 14:47:41 +03:30
Ased Mammad
fab89a76b1 feat: WIP: Initial setup for i18next 2024-03-02 14:47:37 +03:30
Timothy J. Baek
74809e7330 fix: user chat delete loophole 2024-03-02 00:07:50 -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
Jannik Streidl
705f5aecd7 svelte-sonner migration 2024-03-01 10:18:07 +01:00
Timothy Jaeryang Baek
19d49df76f
Merge pull request #968 from Carlos-err406/fix/double-loop
fix: unnecesary double loop
2024-02-29 15:15:19 -05:00
Carlos Daniel Vilaseca
30c94ff10f fix: unnecesary double loop 2024-02-29 12:37:46 -05:00
cocktailpeanut
f4122fd0ce update 2024-02-28 14:27:12 -05:00
Ikko Eltociear Ashimine
a7a817d12b
chore: update Models.svelte
HuggingFace -> Hugging Face
2024-02-26 19:34:43 +09:00
Timothy J. Baek
fb3804ac95 fix: check version loading progress 2024-02-25 12:10:14 -08:00
Timothy J. Baek
759883a4c8 feat: check for updates 2024-02-25 11:55:15 -08:00
Timothy J. Baek
f467483753 fix: error handling 2024-02-24 18:51:13 -08:00
Timothy J. Baek
7aae0cab8d fix: error message 2024-02-24 18:47:04 -08:00
Timothy J. Baek
4bbcb58706 fix: styling 2024-02-24 18:13:51 -08:00
Timothy J. Baek
41a6bf113a fix: default image generation value 2024-02-24 18:11:03 -08:00
Timothy Jaeryang Baek
271e5bf44d
Merge branch 'dev' into feature/img-gen-steps-setting 2024-02-24 21:09:06 -05:00
Timothy J. Baek
ec6f53e298 feat: litellm proxy frontend integration 2024-02-24 17:56:53 -08:00
Timothy J. Baek
e15e015db1 fix: images 2024-02-24 15:48:14 -08:00
Justin Firth
af1675813f Restore image steps setting when Settings modal is presented 2024-02-24 11:34:11 -05:00
Justin Firth
3fa79e59bf Allow configuration of steps, default to a1111 default 2024-02-24 10:44:08 -05:00
Timothy J. Baek
bfba72d486 fix: pip dependency 2024-02-24 01:19:44 -08:00
Timothy J. Baek
62f67bed29 feat: sponsor custom name support 2024-02-23 17:12:19 -08:00
Timothy J. Baek
9523ecb87f fix: styling 2024-02-23 01:26:07 -08:00
Timothy J. Baek
21d3557f1c fix: styling 2024-02-23 01:25:28 -08:00
Timothy Jaeryang Baek
8fac9de269
Merge branch 'main' into release-notes-modal 2024-02-23 04:07:16 -05:00
Timothy J. Baek
1875a03e85 feat: see what's new button added to about 2024-02-23 01:06:46 -08:00
Timothy J. Baek
9f950aea9c feat: changelog.md 2024-02-23 00:30:26 -08:00
Timothy J. Baek
2e7efde4b7 Update Images.svelte 2024-02-22 19:40:51 -08:00
Timothy J. Baek
7ec4c07bf9 feat: image size param 2024-02-22 19:32:36 -08:00
Timothy J. Baek
97d9ecadcf fix: version 2024-02-22 13:36:44 -08:00
Jannik Streidl
06f53a6882 settings fix -> updates value directly 2024-02-22 15:35:31 +01:00
Jannik Streidl
56c4ee0fff styling fix 2024-02-22 12:03:45 +01:00
Jannik Streidl
230f787da1 first draft 2024-02-22 11:54:55 +01:00
Timothy J. Baek
7b27a96e14 Update About.svelte 2024-02-22 02:03:24 -08:00
Timothy J. Baek
dc705c4984 refac: settings 2024-02-21 19:06:27 -08:00
Timothy J. Baek
797ed9ac7f feat: allow enabling after url is provided 2024-02-21 18:57:53 -08:00
Timothy J. Baek
cc50cc10e6 feat: sd frontend integration 2024-02-21 18:36:40 -08:00
Timothy J. Baek
733e963c44 feat: sd backend integration 2024-02-21 18:12:01 -08:00
Timothy J. Baek
b740fa3a7b fix: connection renamed to connections 2024-02-21 13:43:03 -08:00
Timothy J. Baek
83d0c58a00 feat: image settings added 2024-02-21 13:29:59 -08:00
Timothy J. Baek
05ea6cf6fd feat: enable title generation prompt edit 2024-02-21 12:51:52 -08:00
Timothy J. Baek
275523e32e feat: jwt utils 2024-02-19 20:44:00 -08:00
Timothy J. Baek
00f9b2ffcf rename 2024-02-19 11:47:37 -08:00
Anuraag Jain
ae97a96379 WIP feat: cancel model download 2024-02-18 21:29:47 +02:00
Timothy J. Baek
dc4ffe4eae fix: rename 2024-02-17 01:11:19 -08:00
Timothy J. Baek
94b0daf6fe fix: keep alive 2024-02-16 12:59:10 -08:00
Arthur25
828b2a2421
Correct text for empty OpenAI API URL Field 2024-02-16 18:43:46 +01:00
Timothy J. Baek
dc322084bb refac: styling 2024-02-15 20:26:24 -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
42b24cbb68 fix: keep alive default value 2024-02-13 01:50:46 -08:00
Timothy J. Baek
56966c411b fix: keep alive value should be string 2024-02-13 01:46:58 -08:00
Zohaib Rauf
7053f2f67d Added Keep alive setting 2024-02-12 23:35:31 -08:00
Timothy J. Baek
3ce8e8a2ae refac: rename voice to audio 2024-02-11 02:21:06 -08:00
Timothy J. Baek
f245c62692 feat: whisper voice input 2024-02-11 02:12:49 -08:00
Timothy J. Baek
223f17baf9 feat: remove hardcoded names 2024-02-09 19:14:26 -08:00
Timothy J. Baek
f9f1d9d2ad fix: convo mode 2024-02-09 17:12:44 -08:00
Timothy J. Baek
3015bb766d feat: convo mode 2024-02-09 17:09:14 -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
Jannik Streidl
e1d4c87ff0 Added the option to show the username in the chat in settings -> interface 2024-02-06 11:22:34 +01:00
Timothy J. Baek
0b8df52c97 feat: openai tts support 2024-02-05 22:51:08 -08:00
Timothy J. Baek
ce31113abd refac: web api voice 2024-02-05 21:36:03 -08:00
Timothy J. Baek
efd546ff36 refac: settings
addon removed, voice added
2024-02-05 21:05:38 -08:00
Timothy J. Baek
cd9f0135f6 refac: settings 2024-02-05 01:58:54 -08:00
Timothy J. Baek
77e27ce248 fix: styling 2024-01-26 21:39:53 -08:00
Timothy J. Baek
0c322063b5 feat: use local profile image by default 2024-01-26 21:38:33 -08:00
Timothy J. Baek
3ce8f3e8fb feat: profile update frontend integration 2024-01-26 21:22:25 -08:00
Timothy J. Baek
0d6440f5c0 fix: num_predict default value should match ollama default
https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values
2023-12-30 20:16:05 -08:00
David Young
431b710e46 Settings were being referenced incorrectly and as a result, no settings were being sent to openai endpoint. Added num_predict slider in advanced UI. Also added seed, stop and max_tokens (uses num_predict) being sent to openai endpoint. 2023-12-29 16:09:59 +00:00
Timothy J. Baek
382827c71d fix: advanced params input 2023-12-03 10:58:27 -08:00
Timothy J. Baek
45ff3ae204 feat: modelfile builder 2023-12-02 16:05:01 -08:00
Timothy J. Baek
1c0cc16f8c feat: more advanced params added 2023-12-02 14:47:23 -08:00