Commit Graph

148 Commits

Author SHA1 Message Date
Webifi ef7ebb0c99 Format prompt input buttons. 2023-06-01 12:44:18 -05:00
Webifi 2c4faa6944 Fix some layout issues 2023-06-01 08:02:35 -05:00
Webifi 717dc1a7e0 fix lower mask spacing 2023-05-31 19:09:30 -05:00
Webifi 0564261be8 Fix github icon positioning 2023-05-31 14:48:43 -05:00
Webifi 7609497974 Css tweaks. Add links 2023-05-31 12:26:55 -05:00
Webifi df89356dc0 Begin testing new UI layout 2023-05-30 17:35:36 -05:00
Webifi 58c78a2840 Add truncate and send button to messages 2023-05-30 00:31:31 -05:00
Webifi da5745ffdf Componentize Settings - UI Changes 2023-05-29 17:57:14 -05:00
Webifi 436a73488b lint 2023-05-29 08:39:14 -05:00
Webifi 92208f6809 fix 2023-05-29 08:24:58 -05:00
Webifi 53a923af80 Mor dynamic summary sizing 2023-05-29 07:16:11 -05:00
Webifi ac5f8ae6e5 linting 2023-05-28 20:38:25 -05:00
Webifi 8297041059 More accurate token estimates 2023-05-28 20:32:22 -05:00
Webifi 0100e288e1 Lint 2023-05-28 16:25:10 -05:00
Webifi c436fc6299 Move chat state values out of settings 2023-05-28 15:54:45 -05:00
Webifi bf00f23596 Start to add a way to show default profile 2023-05-28 15:28:09 -05:00
Webifi 9b50517c38 Correctly auto-size textarea in firefox. 2023-05-28 14:25:47 -05:00
Webifi 17d5ee196f lint 2023-05-28 11:58:48 -05:00
Webifi 5d7b51ba1d Add usage totals 2023-05-28 11:57:07 -05:00
Webifi b1acf6806a fix lint 2023-05-28 01:21:06 -05:00
Webifi a4222c5347 Refactor settings again 2023-05-28 01:12:26 -05:00
Webifi 6ce0355eec Simplify profile change 2023-05-27 13:43:18 -05:00
Webifi 8ce869c717 Roll-back to using confirm/alert for consistency 2023-05-27 12:29:39 -05:00
Webifi 22cb4b26bc Refactor and add many features 2023-05-27 05:25:54 -05:00
Niek van der Maas a0a7f14dd3 Add system prompt - disabled for now 2023-04-12 12:43:04 +02:00
Niek van der Maas 88b88e67bb
Merge pull request #84 from shivan2418/preselect_text_when_changing_name
preselect text in the Rename chat modal.
2023-03-29 09:09:07 +02:00
Emil Elgaard 795390e430 preselect text in the Rename chat modal. 2023-03-29 01:08:27 -04:00
Niek van der Maas 6efe8b559c Add link to OpenAI API docs in settings 2023-03-27 16:14:04 +02:00
Niek van der Maas 7668c53744 Move messages to separate component, code cleanup 2023-03-23 15:56:15 +01:00
Niek van der Maas fe68d34d1c Add support for awesome prompts, fixes ChatGPT pre-written prompts #66 2023-03-23 13:00:30 +01:00
Niek van der Maas 76ea3137c8 Remove progress bar, loading chat message 2023-03-22 23:08:02 +01:00
Niek van der Maas 1d6791cc3c Work on the SSE 2023-03-22 10:29:27 +01:00
Niek van der Maas 1cea77fbb8 Make more robust 2023-03-22 09:40:25 +01:00
Niek van der Maas 8865b5095d Merge pull request #61 from Niek/all-contributors/add-shivan2418
docs: add shivan2418 as a contributor for design
2023-03-21 21:42:10 -04:00
Niek van der Maas 81b172442f Add title to type, add to model too 2023-03-21 19:50:22 +01:00
Emil Elgaard e84ebf8a2d add tooltip to each of the chat settings. Show the info about the settings from the official documentation. 2023-03-21 14:11:15 -04:00
Niek van der Maas b6d2e4d1af Add correct pricing for GTP-4 model, store model in message 2023-03-21 12:20:25 +01:00
Niek van der Maas 42788a2911 FIx default API base 2023-03-21 08:53:11 +01:00
ryanhex53 05c297f096
Merge branch 'Niek:main' into main 2023-03-21 08:45:09 +08:00
ryanhex53 5e5a7a7473 load api base url from env; 2023-03-21 08:44:09 +08:00
ryanhex53 bd719a9480 fix textarea sizing problem;
move down send btn while textbox high;
2023-03-21 07:50:09 +08:00
Niek van der Maas 1691cfbe30 Fix assistant message width, closes #54 2023-03-20 22:13:32 +01:00
Niek van der Maas 3c3e1013eb Rename chat dialog enhancements 2023-03-20 18:39:03 +01:00
Niek van der Maas 568c2d16ab Remove linting diff 2023-03-20 15:58:14 +01:00
Niek van der Maas 0571a79886 Merge branch 'main' into pr/terryoy/41 2023-03-20 15:51:32 +01:00
Niek van der Maas c5fd70df5f More linting 2023-03-20 15:47:11 +01:00
Niek van der Maas 5fb12c1f41 Linting 2023-03-20 15:35:07 +01:00
Niek van der Maas aa6bc9d0ab Merge branch 'main' into pr/terryoy/41 2023-03-20 14:34:46 +01:00
Niek van der Maas e901f14971 Better model selection support 2023-03-17 18:33:23 +01:00
Niek van der Maas 6723445e90 Add decimal inputmode 2023-03-17 18:29:22 +01:00
Niek van der Maas dedb95c343 Improve settings, allow model selection, fixes Suggestions: model choices, horizontal sliders with min/max value in settings #44 2023-03-17 18:03:07 +01:00
Niek van der Maas 181353b7af Make TS happy 2023-03-17 14:32:32 +01:00
Niek van der Maas 6750a93cdb Linting 2023-03-17 14:00:54 +01:00
Dan Brown ad8aa1bdf0
Added hash-based routing using svelte-spa-router 2023-03-16 15:57:24 +00:00
terryoy 1abadf70fd fix: local dev 2023-03-13 18:47:44 +08:00
Niek van der Maas a517ae588b Do not mangle email addresses 2023-03-13 11:42:22 +01:00
terryoy e04b703615 add: tauri init 2023-03-13 18:19:57 +08:00
Niek van der Maas a23d0a5f73 Add support for highlighting code, fixes #32 2023-03-10 11:17:01 +01:00
Niek van der Maas 47019dafb2 Add support for dark mode, fixes #30 2023-03-09 09:46:11 +01:00
Niek van der Maas bab6028893 Strip whitespace 2023-03-08 13:59:20 +01:00
Niek van der Maas 6c71422bdc Small fixes for speech recognition 2023-03-07 16:48:20 +01:00
Niek van der Maas 988b08a93c Fix Ordered list indices alignment #20 2023-03-07 15:41:45 +01:00
Niek van der Maas a2c1b3160f Get rid of annoying TS warning 2023-03-07 15:38:04 +01:00
Niek van der Maas be8f54ebcc Add speech recognition + TTS support 2023-03-07 15:36:01 +01:00
Niek van der Maas ac9ca6e47e Add clear settings button 2023-03-06 20:47:50 +01:00
Niek van der Maas ce931c609a Properly parse errors 2023-03-06 20:46:05 +01:00
Niek van der Maas 117f6f2a39 Add chat settings 2023-03-06 20:39:14 +01:00
Niek van der Maas da7d5232cc Separate system from error messages 2023-03-06 19:28:06 +01:00
Niek van der Maas 97432612bb
Merge pull request #19 from Michael-Tanzer/delete-chats
added option to delete individual chat
2023-03-06 19:25:19 +01:00
Niek van der Maas c05fb7379d Add type for request too 2023-03-06 19:11:00 +01:00
Niek van der Maas 1ca762bcc0 Add better types for `responses` 2023-03-06 19:06:16 +01:00
Michael Tanzer cf15adad9d added option to delete individual chat 2023-03-06 17:58:27 +00:00
Niek van der Maas 840851a35b Skip system messages 2023-03-06 18:51:16 +01:00
Niek van der Maas 86bb7f1001 Add try/catch around `fetch()`, style system messages correctly 2023-03-06 18:48:13 +01:00
Niek van der Maas 3ff30b4ccb Save chat name after suggestion 2023-03-06 18:42:43 +01:00
Niek van der Maas d03f750b01 Better alignment on mobile 2023-03-06 18:21:08 +01:00
Niek van der Maas eddfd99636 Added chat name suggestion function 2023-03-06 16:46:45 +01:00
Niek van der Maas c1983d23d9 Reset line bar height also after clicking "Send" 2023-03-06 16:24:51 +01:00
Michael Tanzer bf60472cdd Fixed left-align issue, made conversation look like a chat 2023-03-06 15:12:23 +00:00
Niek van der Maas f2fd3664a4 Left-align user message if more than 1 line, fixes #15 2023-03-06 15:58:12 +01:00
Niek van der Maas 3b35868a06 Switch to `svelte-markdown` 2023-03-06 14:15:52 +01:00
Niek van der Maas c89bb88602 Set default marked options 2023-03-06 08:48:35 +01:00
Niek van der Maas c854c82d6e Remove TS ignore 2023-03-06 08:23:08 +01:00
Niek van der Maas 7828b71c55 Backwards compatible to old chats 2023-03-05 21:14:59 +01:00
Niek van der Maas 48ce3d96af Add auti-resizing input 2023-03-05 16:54:57 +01:00
Niek van der Maas 0074ff0de1 Allow multi-line input, fix #7 2023-03-05 16:40:19 +01:00
Michael Tanzer bb9509aa64 Revert "Attempt at tree-like chat management"
This reverts commit e27cb0a9
2023-03-05 14:59:02 +00:00
Michael Tanzer 08db5da7db Revert "Fixed issue where messages where not showing correctly. This commit should be 100% backward compatible with the previous implementation of the chat history assuming no edits."
This reverts commit ec4274c6
2023-03-05 14:58:21 +00:00
Michael Tanzer c6168ef4cb Fixed issue that caused the chat to be called "null" if a user submitted an empty prompt. Made the edit button more visible by making it appear when hovering on the whole chat name header element. 2023-03-05 14:54:42 +00:00
Niek van der Maas 507a35853c Add chat renaming support, fix #8 2023-03-05 15:12:42 +01:00
Niek van der Maas 634550ea3d Add response type 2023-03-03 19:29:56 +01:00
Niek van der Maas b0a638bfb5 Better edit message button 2023-03-03 19:22:16 +01:00
Niek van der Maas cd2b9b9a88 Prepare adding edit functionality #3 2023-03-03 17:20:10 +01:00
Niek van der Maas baac66327e Better aligning 2023-03-03 16:46:13 +01:00
Niek van der Maas 3c778e5a91 Linting (width 120) 2023-03-03 15:17:45 +01:00
Niek van der Maas 23fbc24c6e Greyscale emojis, better home 2023-03-03 14:19:57 +01:00
Niek van der Maas 06a383227a Use separate Svelte components 2023-03-03 14:11:17 +01:00
Niek van der Maas d4e3c40df1 Initial commit 2023-03-02 22:12:55 +04:00