Commit Graph

490 Commits

Author SHA1 Message Date
Webifi 3314252c3c Add hint for multiple hidden prefix prompts 2023-06-22 20:58:57 -05:00
Webifi 4858f4361a Profile tweaks 2023-06-22 14:07:00 -05:00
Webifi 242be141a9 Multiple prefix prompts 2023-06-22 14:06:51 -05:00
Webifi 842c8c9631 Tweak summary prompt 2023-06-20 20:55:20 -05:00
Webifi 30362e2762 profile tweaks 2023-06-20 18:27:24 -05:00
Webifi 6bdbad13fe Fix #194 2023-06-20 14:39:01 -05:00
Webifi d8c797e619 Make sure max_tokens is always integer. 2023-06-19 15:33:47 -05:00
Webifi e8fceef432 Fix message edits not being saved to chatStore 2023-06-18 17:36:40 -05:00
Webifi a574b6ff1c Add setting for summaryTemperature 2023-06-18 09:28:09 -05:00
Webifi 4fd3303e9b Add network error retry to summarization 2023-06-17 11:55:15 -05:00
Webifi 3ab605983d Use cache flush timer per chatId 2023-06-17 09:36:20 -05:00
Webifi b89ad2ef4a Delay message cache save to 200ms 2023-06-17 09:13:25 -05:00
Webifi b893255f79 Fix issue with summary continuation. 2023-06-17 09:10:23 -05:00
Webifi 53ca8f5b3d Fix bug with chat restore introduced in PR #184 2023-06-17 08:52:20 -05:00
Webifi a1eeebb934 Fix issue with messages getting mixed up 2023-06-16 20:18:20 -05:00
Webifi a84a7b269e Scroll to bottom after messages render 2023-06-16 10:42:23 -05:00
Webifi ca0627306f Mask UI blocking when loading large chat session 2023-06-16 10:35:35 -05:00
Webifi 5689250d06 Fix performance issues fro streaming chat 2023-06-16 09:52:29 -05:00
Webifi 698021baf1 Fix memory leak with abort controller 2023-06-15 13:48:30 -05:00
Webifi 19878f6e28 Clarify new chat from current settings options 2023-06-15 12:55:05 -05:00
Webifi 426adbbca5 Allow apply system prompt changes to current chat. 2023-06-15 12:49:21 -05:00
Webifi ac2a44224d Fix scroll jumping when changing settings 2023-06-14 18:39:47 -05:00
Webifi e6c638a60a Optimize 2023-06-14 17:12:42 -05:00
Webifi a5d7560fa9 Fix new chat not hiding menu in mobile #179 2023-06-14 14:58:28 -05:00
Webifi 137d0140e1 Show code highlighting while streaming 2023-06-14 14:44:21 -05:00
Webifi c125d7b637 Allow delete all chats when chat not selected. 2023-06-14 12:52:07 -05:00
Webifi 20b93cc59e Set $0.0015 for all GPT 3.5 input 2023-06-14 11:33:19 -05:00
Webifi 97ff211cdd Make sure images are purged on all message deletes 2023-06-14 10:51:52 -05:00
Webifi fed0423ad0 update token cost, add 0613 models for gpt-4 2023-06-14 08:33:06 -05:00
Webifi 7424742ed2 Add DALL-E image generation 2023-06-14 00:34:24 -05:00
Webifi d96b38e8ea Constrain size of prompt textarea fix #172 2023-06-13 21:54:11 -05:00
Webifi b2721c965d Add gpt-3.5-turbo-0613 and gpt-3.5-turbo-16k 2023-06-13 19:14:37 -05:00
Webifi 111209c582 Fix token summary counting issue 2023-06-12 20:29:51 -05:00
Webifi cd1803ed16 Tiny steps toward UI for hosts/endpoints/models 2023-06-12 19:20:31 -05:00
Webifi a9a49f490a Allow automatic extension of truncated summary 2023-06-12 16:52:02 -05:00
Webifi 28d68b3f55 Remove afterUpdate 2023-06-12 07:12:12 -05:00
Webifi e337df17a2 Update original text on edit entry 2023-06-12 07:09:06 -05:00
Webifi 5918ccdd0f Update original text when streaming per #168 2023-06-12 06:58:00 -05:00
Webifi 94e3ef6ac3 Remove debug 2023-06-11 19:12:31 -05:00
Webifi 4353a8c184 Add overrides on summary continue 2023-06-11 19:05:23 -05:00
Webifi 7512d67ab6 Clean up types 2023-06-11 18:21:52 -05:00
Webifi e6ceed2138 Update summary profile 2023-06-11 18:03:55 -05:00
Webifi 7f29f87ca6 Fix summary size issue 2023-06-11 18:02:01 -05:00
Webifi 18e10b38d1 typo 2023-06-11 17:01:14 -05:00
Webifi 66336a0a13 sendRequest refactor 2023-06-11 16:49:51 -05:00
Webifi 2660512830 Force summaries to be more deterministic 2023-06-10 18:30:42 -05:00
Webifi 2b8eefe113 Fix token limit issue in #161 2023-06-10 09:58:13 -05:00
Webifi 44d006b9de Better error handling 2023-06-09 23:15:17 -05:00
Webifi f56317bb8a Improve error handling 2023-06-09 18:37:07 -05:00
Webifi 15e988758f Count hiddenPromptPrefix tokens 2023-06-09 17:47:19 -05:00
Webifi ac7d99948f Add hidden prompt prefix setting 2023-06-09 17:21:01 -05:00
Webifi 3cb56e9477 Add editing chat name from menu 2023-06-09 09:46:19 -05:00
Webifi e9dab4a973 Keep suggested chat name short 2023-06-09 09:45:53 -05:00
Webifi 1a9a831277 Only count prompts if valid response received 2023-06-09 03:40:30 -05:00
Webifi 45a8875895 Update comments 2023-06-08 19:54:35 -05:00
Webifi 8951a8bf07 Exit on error 2023-06-08 19:54:03 -05:00
Webifi 4487b920ec Lint 2023-06-08 19:36:53 -05:00
Webifi 9ad8f9f025 Simplify error handler 2023-06-08 19:36:17 -05:00
Webifi 9682a1dcea Better error handling 2023-06-08 19:25:07 -05:00
Webifi 7e8b46f042 Allow messages to be added after deleting summary 2023-06-08 18:13:21 -05:00
Webifi 54297ed6a1 Fix issue with summarization 2023-06-08 16:22:12 -05:00
Webifi c6510a31dc Fix another count issue 2023-06-08 15:49:19 -05:00
Webifi 5e86b302fc Add unsaved profile warning on new chat. 2023-06-08 15:25:16 -05:00
Webifi 567845be06 Fix issues with token counts 2023-06-08 15:09:14 -05:00
Webifi 0cc30a28dc remove profile 2023-06-08 12:22:49 -05:00
Webifi 6eea4a98fb Fix delete all chats issue 2023-06-08 12:22:19 -05:00
Webifi 6315fc329e Update chat name in UI on suggestion. 2023-06-08 10:59:53 -05:00
Webifi 0a24dd4066 Change setting descriptions 2023-06-08 08:25:43 -05:00
Webifi 0eae377920 Change profiles 2023-06-08 08:23:24 -05:00
Webifi 5892e0f0b1 Allow streaming to work in background 2023-06-08 08:11:13 -05:00
Webifi 06470f7742 Refactor continuos chat setting 2023-06-08 08:08:25 -05:00
Webifi f74225298d Fix profile caching issue 2023-06-07 18:36:22 -05:00
Webifi 568692300e Fix modal notification issue 2023-06-07 18:27:08 -05:00
Webifi c3172eb4aa Add truncated completion joining 2023-06-07 16:54:20 -05:00
Webifi d768f4b355 clean up 2023-06-07 13:26:50 -05:00
Webifi 01fe033583 Stop tts on chat change / new recording 2023-06-07 12:30:02 -05:00
Webifi 867c6d7e33 Fix endpoint 2023-06-07 11:52:08 -05:00
Webifi a51cea24d4 Allow API endpoints to be changed in env 2023-06-07 11:50:36 -05:00
Webifi fdd46fdd06 Fix abort issue 2023-06-07 11:06:41 -05:00
Webifi ad1b3150e5 Block all prompt input while waiting for response 2023-06-07 09:57:14 -05:00
Webifi 5120cc44c8 Allow aborting of API requests 2023-06-07 09:47:30 -05:00
Webifi de9a4f7f27 Clarify settings 2023-06-07 08:10:31 -05:00
Webifi b21bba3dfa Don't allow a prompt to be sent while streaming. 2023-06-07 08:10:13 -05:00
Webifi 15272de1d4 Add add streaming responses based on #107 2023-06-07 01:47:10 -05:00
Webifi fffe34c80c Add has-asc class 2023-06-06 08:18:31 -05:00
Webifi d1cabf0071 Clean up prompts 2023-06-06 08:16:32 -05:00
Webifi ec3478f159 Re-enable esc to cancel message edit 2023-06-06 07:41:10 -05:00
Webifi 886b3d463d Simplify alert modals 2023-06-05 22:47:55 -05:00
Webifi e6082144cb Simplify alert modals 2023-06-05 22:47:35 -05:00
Webifi 5853b9e451 Use modals instead of window.alert & confirm 2023-06-05 21:29:20 -05:00
Webifi db6e5898df Close all modals on route change 2023-06-05 16:51:11 -05:00
Webifi 443c30b7ab Properly set the dirty flag on setting modal load 2023-06-05 16:26:53 -05:00
Webifi c672236412 properly close modal stack in order on escape 2023-06-05 16:13:40 -05:00
Webifi 939d69fe46 Use modal for setting field change confirmations 2023-06-05 08:51:40 -05:00
Webifi f1dbf5d74d Fix mobile formatting issue 2023-06-05 07:09:57 -05:00
Webifi 7bbddfda5d fix type 2023-06-05 06:48:21 -05:00
Webifi 038b1d303f Use message for prompt input modal 2023-06-05 06:46:30 -05:00
Webifi 1f37c3ee96 Save chat after rename 2023-06-05 06:39:03 -05:00
Webifi 39233051da Lay groundwork for dynamic modals 2023-06-04 20:47:08 -05:00
Webifi 49c7570952 Simplify switching profiles. Less prompting. 2023-06-04 15:22:02 -05:00
Webifi 759eb35bc6 Add UI for default profile 2023-06-03 16:50:08 -05:00
Webifi 2880cf3750 Fix disabled 2023-06-03 13:18:42 -05:00
Webifi 95ce41116b Lint 2023-06-03 13:15:51 -05:00
Webifi aa94788573 Fix profile loading issues on new chat 2023-06-03 13:15:20 -05:00
Webifi 80aa0cbb57 more z-index issues 2023-06-03 10:58:49 -05:00
Webifi 08621bfcd3 allow larger card on larger screens 2023-06-03 10:40:24 -05:00
Webifi ccdb1689ca fix z-index issues 2023-06-03 10:35:15 -05:00
Webifi cd5d4bed71 fix z-index of side-bar menu 2023-06-03 09:44:53 -05:00
Webifi a38ce6d702 Clean up UI for settings modal, better for mobile. 2023-06-03 09:40:49 -05:00
Webifi 43f52e1fd1 Change settings descriptions 2023-06-03 07:41:53 -05:00
Webifi dfe30b12bd Track change state of profile editor 2023-06-03 07:28:51 -05:00
Webifi f8fc158861 Set tool drawer to expand up for last message 2023-06-02 10:41:18 -05:00
Webifi 75aaef48ea Track profile changes and add save changes button 2023-06-02 08:40:26 -05:00
Webifi b67f336b58 Change to send 2023-06-02 06:26:19 -05:00
Webifi f5ef5ff5db Change max token on model change 2023-06-02 06:05:50 -05:00
Webifi 0b8a997b0e Change default token limit to 512 2023-06-02 05:49:44 -05:00
Webifi 8e18a240ba Fix when buttons are shown/hidden 2023-06-02 05:15:01 -05:00
Webifi 59897ffe1e clean up buttons 2023-06-02 04:35:39 -05:00
Webifi 28764ba9b3 Trim whitespace and allow API key to be removed 2023-06-01 23:49:47 -05:00
Webifi 74b76bed96 Change key location 2023-06-01 23:32:15 -05:00
Webifi 88b0f63cdc Move component to correct folder 2023-06-01 23:31:50 -05:00
Webifi 9e2b354b0a Fix improper resetting of setting values 2023-06-01 22:53:48 -05:00
Webifi 3dc30ad186 Dan't show new chat if no api key 2023-06-01 22:11:38 -05:00
Webifi 57d660bcd4 change summarized opacity 2023-06-01 21:18:51 -05:00
Webifi b9c5e5ea36 z-index 2023-06-01 21:09:33 -05:00
Webifi e6a48133f6 set z-index for footer/mask 2023-06-01 21:08:33 -05:00
Webifi 781d003849 lint 2023-06-01 19:52:35 -05:00
Webifi 9165480dfb Add prompt suppression and FIFO 2023-06-01 19:49:21 -05:00
Webifi b396bb818d Move setting fields into separate component 2023-06-01 17:05:42 -05:00
Webifi aba16cdf4b Keep message tool drawer open while editing 2023-06-01 15:29:21 -05:00
Webifi a8a1554a0f Add message icon to each chat item 2023-06-01 14:45:27 -05:00
Webifi ad1b0fdeb8 Make usable for 320px wide devices 2023-06-01 13:59:34 -05:00
Webifi f0b6b01f99 Change position of options/action menu 2023-06-01 13:19:21 -05:00
Webifi ef7ebb0c99 Format prompt input buttons. 2023-06-01 12:44:18 -05:00
Webifi 6f7fff6453 Code/comment cleanup 2023-06-01 12:26:18 -05:00
Webifi bceb205413 Fix api key prompt 2023-06-01 08:21:10 -05:00
Webifi de28e2f17f Lint 2023-06-01 08:03:32 -05:00
Webifi 2c4faa6944 Fix some layout issues 2023-06-01 08:02:35 -05:00
Webifi 427663167a Allow nested sections to work correctly 2023-05-31 20:00:40 -05:00
Webifi 717dc1a7e0 fix lower mask spacing 2023-05-31 19:09:30 -05:00
Webifi f7dc17a26e Display message edit/action button differently 2023-05-31 19:00:51 -05:00
Webifi 8690bf9e10 Change action button display for messages 2023-05-31 18:58:01 -05:00
Webifi 0564261be8 Fix github icon positioning 2023-05-31 14:48:43 -05:00
Webifi a3e8809d59 Css tweak 2023-05-31 12:34:30 -05:00
Webifi 530b68f9bc Css tweak 2023-05-31 12:31:39 -05:00
Webifi 7609497974 Css tweaks. Add links 2023-05-31 12:26:55 -05:00
Webifi fdbb2ab76f close menu when it should 2023-05-31 08:09:54 -05:00
Webifi a3ae5a3926 lint 2023-05-31 07:52:17 -05:00
Webifi 4c685e1a1e Add mobile support 2023-05-31 07:51:03 -05:00
Webifi df89356dc0 Begin testing new UI layout 2023-05-30 17:35:36 -05:00
Webifi 6b24d99022 Make empty messages large enough to be clicked. 2023-05-30 01:19:47 -05:00
Webifi 58c78a2840 Add truncate and send button to messages 2023-05-30 00:31:31 -05:00
Webifi e2b9c57164 Fix menu not closing on apikey link 2023-05-29 21:34:53 -05:00
Webifi c20c5da931 Fix sizing of textareas in settings modal 2023-05-29 21:25:40 -05:00
Webifi 56eca2620e Change "Save" to "Backup" 2023-05-29 21:10:39 -05:00
Webifi e1fa2d9fde Add ability to hide summarized messages 2023-05-29 20:59:24 -05:00
Webifi 3bf3db6b07 Add click+confirm for deleting chats in menu 2023-05-29 20:29:30 -05:00
Webifi cb00eea2d4 Scroll content, not container 2023-05-29 18:28:42 -05:00
Webifi 183f63c3ce Clean up menu close, fix profile restart 2023-05-29 18:24:29 -05:00
Webifi 4fb033b0e2 Let menu scroll on smaller screen devices 2023-05-29 18:14:31 -05:00
Webifi 54dde8afad Allow delete all if no chat selected 2023-05-29 18:10:22 -05:00
Webifi da5745ffdf Componentize Settings - UI Changes 2023-05-29 17:57:14 -05:00
Webifi 70049f9b64 Fix chat copy rename 2023-05-29 13:38:08 -05:00
Webifi 436a73488b lint 2023-05-29 08:39:14 -05:00
Webifi afbe932002 Allow deletion of last summarization 2023-05-29 08:37:38 -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 4289ee6cd9 remove debug 2023-05-29 04:08:11 -05:00
Webifi e1a7c177d5 lint 2023-05-28 21:25:25 -05:00
Webifi a69b8c59d4 Apply exclusion list to profile exports 2023-05-28 21:19:44 -05:00
Webifi 238cc4647c Remove refactored fields from exclusion list 2023-05-28 21:19:06 -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 74d296cac7 fix comment 2023-05-28 17:43:40 -05:00
Webifi 449c2937b7 Remove debug 2023-05-28 17:40:29 -05:00
Webifi b10cdf3aed Oops. Fix a missed line from refactor 2023-05-28 17:13:54 -05:00
Webifi 0100e288e1 Lint 2023-05-28 16:25:10 -05:00
Webifi 7184d6663e Fade overflowing chat names a little more 2023-05-28 16:04:01 -05:00
Webifi 4b2ffa1c72 Fix types 2023-05-28 15:57:22 -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 8841cfa859 don't wrap long chat names 2023-05-28 13:17:43 -05:00
Webifi 5158317343 Don't indent chat menu so much 2023-05-28 12:54:03 -05:00
Webifi f9be3db674 cleanup 2023-05-28 12:47:05 -05:00
Webifi 365d3c5b9b Add double-touch to edit for mobile support 2023-05-28 12:41:49 -05:00
Webifi ab0c0a3e6a Clean up types 2023-05-28 12:17:28 -05:00
Webifi 51e07ff666 clean up types 2023-05-28 12:07:44 -05:00
Webifi 2565a67e28 Clean up types 2023-05-28 12:04:17 -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 b201f03b67 Merge 2023-05-28 01:14:29 -05:00
Webifi a4222c5347 Refactor settings again 2023-05-28 01:12:26 -05:00
Webifi 52b1f29942 Refactor settings again 2023-05-28 01:11:00 -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 a4f4475682 cleanup 2023-05-27 11:27:23 -05:00
Webifi c8bcb39865 Make modal BG color work in both light and dark mode 2023-05-27 10:54:35 -05:00
Webifi f2803b0ad4 Clean up 2023-05-27 05:33:58 -05:00