Commit Graph
100 Commits
Author SHA1 Message Date
heimoshuiyu 6d6fb2a462 update 1106 model 2023-11-07 11:23:57 +08:00
heimoshuiyu 2bb09c8bfc change default model to gpt-3.5-turbo-1106 2023-11-07 11:14:23 +08:00
heimoshuiyu 6fa960a3c8 select audio device 2023-11-03 21:23:34 +08:00
heimoshuiyu a4366f800a fix: stop audio stream 2023-11-03 20:48:57 +08:00
heimoshuiyu 6bf6fb9455 support enable/disable temperature and top_p 2023-11-03 14:01:16 +08:00
heimoshuiyu 40081f81f7 fix: import 2023-11-03 12:00:32 +08:00
heimoshuiyu 9c2a30d23d add reset current to prompt 2023-11-03 11:44:03 +08:00
heimoshuiyu cc143f6796 fix p children warning 2023-10-25 14:33:10 +08:00
heimoshuiyu abeccd6aa9 button to delete all chatstore 2023-10-25 14:32:56 +08:00
heimoshuiyu 695221d912 auto select language code 2023-10-25 14:09:45 +08:00
heimoshuiyu fc72a5b7c1 show api templates in development mode 2023-10-25 14:05:57 +08:00
heimoshuiyu e19431b833 optimize setting layout 2023-10-25 11:43:42 +08:00
heimoshuiyu d30b2e3d5a set default temperature to 0.7 2023-10-25 11:37:58 +08:00
heimoshuiyu 8aa6ea1a93 upgrade dependencies 2023-10-25 11:37:22 +08:00
heimoshuiyu 2e8e8e008c i18n 2023-10-25 11:35:17 +08:00
heimoshuiyu 717c76f4dd fix: application/json, ignore empty input 2023-10-24 22:59:56 +08:00
heimoshuiyu e1172600c1 fix: ignore empty system message 2023-10-24 22:53:31 +08:00
heimoshuiyu aba4e42202 remove default system message 2023-10-24 22:45:22 +08:00
heimoshuiyu 83833187f0 render api templates if exitst 2023-10-24 22:39:45 +08:00
heimoshuiyu 2bd36d4b34 v1.6.0 save api as template 2023-10-24 20:54:53 +08:00
heimoshuiyu 272cc31b7c user not scaleable 2023-10-08 10:19:36 +08:00
heimoshuiyu 598575f29b Rewrite stream parse logic 2023-09-15 17:54:36 +08:00
heimoshuiyu 49eae4a2b9 fix: parse stream error 2023-09-15 17:09:39 +08:00
heimoshuiyu 47af34c061 fix whisper join 2023-08-25 19:17:36 +08:00
heimoshuiyu e5d11cdb31 fix opanai whisper reponse tyep 2023-08-25 19:13:29 +08:00
heimoshuiyu 90d72a521d fix ogx -> ogg 2023-08-25 19:09:44 +08:00
heimoshuiyu 75d5291589 try fetch whsiper API 2023-08-25 18:56:34 +08:00
heimoshuiyu 603d1653b3 fix typo 2023-08-25 18:56:16 +08:00
heimoshuiyu 290508e777 update readme 2023-08-25 18:42:41 +08:00
heimoshuiyu b7ae9e0838 fix mic button animation and prompt 2023-08-25 18:38:08 +08:00
heimoshuiyu cdb0c9a1b5 support whisper stt 2023-08-25 18:19:10 +08:00
heimoshuiyu 687ebf790c hide api key and endpoint 2023-08-25 10:33:06 +08:00
heimoshuiyu b0d6484d74 fix: stream response model name and cost 2023-08-25 10:21:45 +08:00
heimoshuiyu 992d8f39ce inherite temperature 2023-08-25 10:13:11 +08:00
heimoshuiyu 968e6602f7 async generator stream 2023-08-10 18:36:29 +08:00
heimoshuiyu 682094485a update readme 2023-08-06 17:41:02 +08:00
heimoshuiyu 50fa7b41d3 change input to hide default 2023-08-06 17:26:27 +08:00
heimoshuiyu c90e32d74f change default temperature from 1.0 to 0.7
When developing prompt, it is generally better use a lower temperature
from beginning
2023-07-27 11:32:36 +08:00
heimoshuiyu b5ec1fe518 press esc to close settings window 2023-07-27 11:09:04 +08:00
heimoshuiyu 69e1c013b3 press esc to exit edit message 2023-07-27 11:07:36 +08:00
heimoshuiyu 120bdddc3b esc to close edit message window 2023-07-27 10:45:44 +08:00
heimoshuiyu 196e12a4fd click elsewhere to close edit message window 2023-07-27 10:42:17 +08:00
heimoshuiyu c84be818e9 fix edit message window opacity 2023-07-27 10:32:32 +08:00
heimoshuiyu 5f0481fece fix re-generate only delete assistant message 2023-07-27 10:26:55 +08:00
heimoshuiyu 1c34c123aa move edit to the bottom of message 2023-07-20 11:44:17 +08:00
heimoshuiyu dd6da3a55c disable re-generate and completion when generating 2023-07-20 11:41:52 +08:00
heimoshuiyu 8d62bfae77 fix systemMessage token 2023-07-20 11:37:10 +08:00
heimoshuiyu 1270568a08 fix clear history with example 2023-07-20 11:36:07 +08:00
heimoshuiyu 5f4b360b05 update token when setChatStore 2023-07-20 11:34:15 +08:00
heimoshuiyu dba39c771f polify structure clone 2023-07-20 02:18:15 +08:00
heimoshuiyu bef955dd7d fix clone 2023-07-20 02:11:15 +08:00
heimoshuiyu 6acf87807f fix template default params 2023-07-20 02:01:57 +08:00
heimoshuiyu 4caf8ba669 add template 2023-07-20 01:34:33 +08:00
heimoshuiyu 7ad28386b7 move accumulate cost to bottom 2023-07-20 00:41:00 +08:00
heimoshuiyuandGitHub 28aec2405d Update models.ts fix price 2023-07-18 17:12:52 +08:00
heimoshuiyu a5b807d411 move setting button to top, lg:w-2/3 2023-07-18 14:27:11 +08:00
heimoshuiyu 5f7c41d4cc hide message-content class if render markdown 2023-07-14 16:05:32 +08:00
heimoshuiyu e358a02042 inherit dev mode 2023-07-14 15:58:42 +08:00
heimoshuiyu 9e520d9b64 render markdown by default 2023-07-14 15:44:13 +08:00
heimoshuiyu 08c087468b quick hide input 2023-07-13 19:31:52 +08:00
heimoshuiyu ab5eab1a9b chatgpt.ts add role type check 2023-07-13 18:18:08 +08:00
heimoshuiyu f8ce1d3915 setInputMsg("") after click assistant or user 2023-07-13 18:03:21 +08:00
heimoshuiyu 488e441635 show re-generate and compeletion based on history length 2023-07-13 18:02:13 +08:00
heimoshuiyu 9a132b007e fix set chat example 2023-07-12 18:24:33 +08:00
heimoshuiyu d2f21f44bb fix dev msg options in dark mode 2023-07-12 00:44:06 +08:00
heimoshuiyu 32bf692386 support example_user and example_assistant 2023-07-12 00:40:03 +08:00
heimoshuiyu 1b558a8194 fix icon sytle 2023-07-08 20:54:33 +08:00
heimoshuiyu af630f53d0 copy to clipboard and fix del icon style 2023-07-08 20:45:53 +08:00
heimoshuiyu 5fa6d4182a fix args copy 2023-07-08 15:14:46 +08:00
heimoshuiyu feecd6582d esgimate token length after editing 2023-07-08 14:45:21 +08:00
heimoshuiyu 4ce23bb1eb move dev buttons to down 2023-07-08 14:40:26 +08:00
heimoshuiyu 1cac4a77c0 calculate response token in stream mode 2023-07-08 14:35:10 +08:00
heimoshuiyu f2129f6a67 fix edit message z-index 10 2023-07-08 14:24:32 +08:00
heimoshuiyu 86699511df edit message token 2023-07-08 14:23:56 +08:00
heimoshuiyu e2f78987a3 setShowRetry(false) on success 2023-07-08 14:17:30 +08:00
heimoshuiyu 8fb17ba3f8 fix bug on completion with empty history 2023-07-08 14:16:51 +08:00
heimoshuiyu 1b8eeb0c86 fix calculate user token in hide state 2023-07-08 14:03:45 +08:00
heimoshuiyu 9d34189c96 regenerate and complte function 2023-07-08 10:07:10 +08:00
heimoshuiyu 22b4d59b1c v1.4.0 warning 2023-07-08 09:56:41 +08:00
heimoshuiyu c0566f3105 better way to edit message content 2023-07-07 19:11:01 +08:00
heimoshuiyu 1c14e413bb fix develop mode style 2023-07-07 18:57:54 +08:00
heimoshuiyu 1da4d38799 1.4.0 dev mode support more ops and args 2023-07-07 18:20:14 +08:00
heimoshuiyu ecfa32f75e chatgpt.ts support more args 2023-07-07 11:06:30 +08:00
heimoshuiyu 7553cf41cf update packages 2023-07-03 10:17:59 +08:00
heimoshuiyu 66ab8d4978 handle partial chunk 2023-06-19 20:33:18 +08:00
heimoshuiyuandGitHub da31f32fcb Update chatbox.tsx handle "data:{xxxx}" 2023-06-19 20:11:09 +08:00
heimoshuiyu 280545c224 accumulated cost 2023-06-14 13:14:28 +08:00
heimoshuiyu 7ded1c8522 change default system message to "follow my instructions carefully" 2023-06-14 12:47:53 +08:00
heimoshuiyu e76f087776 fix generating message style 2023-06-14 12:45:11 +08:00
heimoshuiyu 67e12e6933 change default model to gpt-3.5-turbo-0613 2023-06-14 12:16:22 +08:00
heimoshuiyu 4860c6dff3 inherit chatStore.model 2023-06-14 12:14:57 +08:00
heimoshuiyu e03160d04d openai model update 2023-06-14 12:10:18 +08:00
heimoshuiyu b46b550a70 recognize text/event-stream, charset=utf-8 2023-04-19 16:21:05 +08:00
heimoshuiyu 8f1a327ea0 fix total token in stream mode 2023-04-04 00:39:58 +08:00
heimoshuiyu 8c049c9ee9 handle response error 2023-04-03 17:46:07 +08:00
heimoshuiyu 528eb0a300 永远显示提示<p> 2023-04-03 17:46:07 +08:00
heimoshuiyuandGitHub d5d077f39c Update README.md 2023-04-02 13:01:38 +08:00
heimoshuiyuandGitHub b4244d3900 现在我觉得它不灵车了 2023-04-01 19:57:59 +08:00
heimoshuiyu 8f3d69d2a2 fix todo: estimate user's token 2023-04-01 12:35:26 +08:00
heimoshuiyu 11d9b09e36 prevent undefined on new models 2023-03-31 15:00:57 +08:00