Commit Graph

482 Commits

Author SHA1 Message Date
Webifi 38d38bf948 Fix some issues with stop sequences and role sequences 2023-07-24 19:48:28 -05:00
Webifi f56e29b829 Show shorter model name 2023-07-24 15:53:04 -05:00
Webifi f6380e1cc2 Allow Petals and/or OpenAI 2023-07-24 15:26:17 -05:00
Webifi ca19bab19d Don't allow too low of temp or top_p 2023-07-22 17:21:01 -05:00
Webifi 7aadca3c5c Better error handling for Petals 2023-07-22 17:08:40 -05:00
Webifi 15dcd27e8f Get temp and top_p working for Petals 2023-07-22 16:48:26 -05:00
Webifi 6d35a46d50 Allow user to adjust message chaining strings 2023-07-22 14:40:12 -05:00
Webifi 9a6004c55d More changes for Petals integration 2023-07-22 13:24:18 -05:00
Webifi df222e7028 Try to import chat name suggestion 2023-07-22 13:23:24 -05:00
Webifi cdbd17fa13 Don't show generation setting that don't apply 2023-07-22 08:56:12 -05:00
Webifi 914055f1f9 Initial test of Petals as alternative to OpenAI 2023-07-22 01:42:21 -05:00
Webifi 8e35b198da Add [[LAST-PROMPT]] system prompt expansion 2023-07-20 20:32:36 -05:00
Webifi b12ec15d80 Use "the user" in system prompts, not "I" 2023-07-17 21:11:11 -05:00
Webifi 0b45a1833b Update profile example 2023-07-17 20:03:33 -05:00
Webifi a81939164f Adjust setting description 2023-07-17 20:02:37 -05:00
Webifi 5d617455c6 Add training messages to system prompt. 2023-07-17 19:44:41 -05:00
Webifi 966dc71e5b disable unsaved profile warning for now 2023-07-17 14:09:25 -05:00
Webifi d186f0c190 Import profile on chat context menu. Fix file load bug 2023-07-17 14:01:16 -05:00
Webifi 74cb9bd77a Allow both STARTUP and START-PROMPT in system prompt 2023-07-16 18:41:39 -05:00
Webifi 155b067236 Fi issues with field controls not being updated 2023-07-16 10:46:14 -05:00
Webifi 3df166c2fb Allow system prompt to be split to top and bottom prompts 2023-07-16 09:17:52 -05:00
Webifi 187dbfb0b8 Allow system prompt to be sent as last message 2023-07-16 08:54:04 -05:00
Webifi ca7e920741 Merge branch 'main' of https://github.com/Niek/chatgpt-web into Updated-UI 2023-07-16 08:19:28 -05:00
Webifi a180f501d5 Changes to summary request and hidden prompt prefix 2023-07-15 21:52:21 -05:00
Niek van der Maas 0ce386a209 Re-add `?key=` support, fixes #222 2023-07-10 14:42:57 +02:00
Webifi c9f48bbbb4 Show continue ellipsis and stream cursor correctly 2023-06-30 09:20:12 -05:00
Webifi 67e38b1e19 Sticky tool-drawer fix #205 2023-06-29 21:10:44 -05:00
Webifi 868035c3a0 Try to catch intermittent stuck in updating issue 2023-06-29 18:28:06 -05:00
Webifi eacb81d1b7 clean up 2023-06-27 12:18:16 -05:00
Webifi 421d80a7fa Default to last viewed chat when returning to app 2023-06-27 12:03:34 -05:00
Webifi 899ef0137e Hidden prompt prefix when continuing completion 2023-06-27 12:01:25 -05:00
Webifi ef74fd5e31 Handle some more API errors 2023-06-26 20:11:00 -05:00
Webifi 67044b362c Better names for cloned chats and profiles 2023-06-26 18:07:37 -05:00
Webifi b8f6e9f4ec Fix incorrect store name 2023-06-25 19:48:49 -05:00
Webifi 6f91286982 Add purge chat usage option 2023-06-24 19:13:14 -05:00
Webifi b122dfa3f3 Hide sort menu 2023-06-24 17:26:54 -05:00
Webifi 83fd00c16e Fix last updated sort 2023-06-24 16:56:03 -05:00
Webifi 52affeb83f Add chat sorting 2023-06-24 15:51:06 -05:00
Webifi 8835ee1d6e chat and message date data, begin chat sort opts. 2023-06-24 12:48:27 -05:00
Webifi 86092afcb0 Add lastChatId, but disable use for now 2023-06-24 09:18:29 -05:00
Webifi 69f514a69f change chat from current icon 2023-06-22 21:15:25 -05:00
Webifi 2098bc7a0b Add new chat from current to chat option menu 2023-06-22 21:08:50 -05:00
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