Commit Graph

518 Commits

Author SHA1 Message Date
Webifi c70b2c3928 auto apply system prompt changes to current chat 2023-08-18 12:47:47 -05:00
Webifi 538e9d749a Enable system prompt for CheapGPT 2023-08-18 12:35:53 -05:00
Webifi ff97a30e78 tweak profile 2023-08-17 21:34:05 -05:00
Webifi a260d49d5a Add more variation in response 2023-08-17 21:32:29 -05:00
Webifi 726842179c typo 2023-08-17 18:46:12 -05:00
Webifi e5f6be8f81 typos 2023-08-17 18:27:10 -05:00
Webifi bc7ba1da74 Try to make jenLlama profile more creative in responses 2023-08-17 18:20:28 -05:00
Webifi 8edccda1eb Allow more leeway in name suggestion token count 2023-08-17 12:24:39 -05:00
Webifi 950a27d8e6 Add more debug, fix non-streaming response 2023-08-17 12:20:09 -05:00
Webifi e00aad20f5 Force model type for jenLama profile 2023-08-17 08:22:41 -05:00
Webifi 083e31d4a7 Add uninhibited LLaMA profile 2023-08-17 07:58:43 -05:00
Webifi 5f919098f5 Add CheapGPT profile 2023-08-17 07:58:04 -05:00
Webifi f523f8d4bc Fix typo 2023-08-16 15:20:57 -05:00
Webifi cb2b9e07f4 Add distinction between chat and instruct models 2023-08-16 15:20:07 -05:00
Webifi f4d9774423 update token count 2023-08-16 01:51:49 -05:00
Webifi 86f427f62f Fix potential infinite loop 2023-08-15 23:48:49 -05:00
Webifi a08d8bcd54 Move token counting to model detail. 2023-08-15 21:46:33 -05:00
Webifi 91885384a1 disable non-chat Llama-2 2023-08-15 20:39:19 -05:00
Webifi fb2290308f Begin refactoring model providers to be less anti-pattern 2023-08-15 20:32:30 -05:00
Webifi af568efd3a Add lead prompts 2023-08-07 12:44:16 -05:00
Webifi bcb2b93e84 Default aggressive stop on 2023-08-07 12:37:57 -05:00
Webifi 7c588ce212 Add StableBeluga2. Update prompt structures 2023-08-07 12:33:42 -05:00
Webifi 8b2f2515f9 Send summary request as system prompt 2023-08-07 12:32:46 -05:00
Webifi c473d731ce Properly close websocket connections. 2023-07-28 18:10:45 -05:00
Webifi bb2a177f22 remove debug 2023-07-28 16:48:36 -05:00
Webifi 4c37969635 remove debug 2023-07-28 16:48:07 -05:00
Webifi 0f12fcdb95 Format LLama-2-chat prompts to spec. 2023-07-28 16:46:50 -05:00
Webifi f223f4e510 Fix disabled OpenAI models #243 2023-07-26 17:49:26 -05:00
Webifi 58afe8f375 typo 2023-07-25 14:55:07 -05:00
Webifi 1ef08110c3 Add aggressive stop setting 2023-07-25 14:53:29 -05:00
Webifi b0812796a1 Add link to swarm health 2023-07-25 13:28:14 -05:00
Webifi ff3799637b Allow scrolling while streaming re: #241 2023-07-25 00:21:04 -05:00
Webifi 0ffdd78863 Another prompt prefix issue 2023-07-24 23:14:28 -05:00
Webifi 833633991a Fix user prompt prefix injection 2023-07-24 22:20:52 -05:00
Webifi af08f5c99e Update text 2023-07-24 20:00:20 -05:00
Webifi 190bf16ce6 Drop llama 65b and guanaco 65b - unstable in swarm 2023-07-24 19:56:05 -05:00
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