Commit Graph

369 Commits

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