Commit Graph

272 Commits

Author SHA1 Message Date
9e520d9b64 render markdown by default 2023-07-14 15:44:13 +08:00
08c087468b quick hide input 2023-07-13 19:31:52 +08:00
ab5eab1a9b chatgpt.ts add role type check 2023-07-13 18:18:08 +08:00
f8ce1d3915 setInputMsg("") after click assistant or user 2023-07-13 18:03:21 +08:00
488e441635 show re-generate and compeletion based on history length 2023-07-13 18:02:13 +08:00
9a132b007e fix set chat example 2023-07-12 18:24:33 +08:00
d2f21f44bb fix dev msg options in dark mode 2023-07-12 00:44:06 +08:00
32bf692386 support example_user and example_assistant 2023-07-12 00:40:03 +08:00
1b558a8194 fix icon sytle 2023-07-08 20:54:33 +08:00
af630f53d0 copy to clipboard and fix del icon style 2023-07-08 20:45:53 +08:00
5fa6d4182a fix args copy 2023-07-08 15:14:46 +08:00
feecd6582d esgimate token length after editing 2023-07-08 14:45:21 +08:00
4ce23bb1eb move dev buttons to down 2023-07-08 14:40:26 +08:00
1cac4a77c0 calculate response token in stream mode 2023-07-08 14:35:10 +08:00
f2129f6a67 fix edit message z-index 10 2023-07-08 14:24:32 +08:00
86699511df edit message token 2023-07-08 14:23:56 +08:00
e2f78987a3 setShowRetry(false) on success 2023-07-08 14:17:30 +08:00
8fb17ba3f8 fix bug on completion with empty history 2023-07-08 14:16:51 +08:00
1b8eeb0c86 fix calculate user token in hide state 2023-07-08 14:03:45 +08:00
9d34189c96 regenerate and complte function 2023-07-08 10:07:10 +08:00
22b4d59b1c v1.4.0 warning 2023-07-08 09:56:41 +08:00
c0566f3105 better way to edit message content 2023-07-07 19:11:01 +08:00
1c14e413bb fix develop mode style 2023-07-07 18:57:54 +08:00
1da4d38799 1.4.0 dev mode support more ops and args 2023-07-07 18:20:14 +08:00
ecfa32f75e chatgpt.ts support more args 2023-07-07 11:06:30 +08:00
7553cf41cf update packages 2023-07-03 10:17:59 +08:00
66ab8d4978 handle partial chunk 2023-06-19 20:33:18 +08:00
da31f32fcb Update chatbox.tsx handle "data:{xxxx}" 2023-06-19 20:11:09 +08:00
280545c224 accumulated cost 2023-06-14 13:14:28 +08:00
7ded1c8522 change default system message to "follow my instructions carefully" 2023-06-14 12:47:53 +08:00
e76f087776 fix generating message style 2023-06-14 12:45:11 +08:00
67e12e6933 change default model to gpt-3.5-turbo-0613 2023-06-14 12:16:22 +08:00
4860c6dff3 inherit chatStore.model 2023-06-14 12:14:57 +08:00
e03160d04d openai model update 2023-06-14 12:10:18 +08:00
b46b550a70 recognize text/event-stream, charset=utf-8 2023-04-19 16:21:05 +08:00
8f1a327ea0 fix total token in stream mode 2023-04-04 00:39:58 +08:00
8c049c9ee9 handle response error 2023-04-03 17:46:07 +08:00
528eb0a300 永远显示提示<p> 2023-04-03 17:46:07 +08:00
d5d077f39c Update README.md 2023-04-02 13:01:38 +08:00
b4244d3900 现在我觉得它不灵车了 2023-04-01 19:57:59 +08:00
8f3d69d2a2 fix todo: estimate user's token 2023-04-01 12:35:26 +08:00
11d9b09e36 prevent undefined on new models 2023-03-31 15:00:57 +08:00
464e417537 switch model with token 2023-03-31 05:14:44 +08:00
5a328db87d cost in stream mode 2023-03-31 05:09:25 +08:00
3b09abaf66 header 2023-03-31 05:00:52 +08:00
05f57f29e5 show cost 2023-03-31 04:50:49 +08:00
11afa12b09 fix show version warning 2023-03-31 04:41:08 +08:00
26f9632f41 record each message's token and hide status, calc postBeginIndex based on token 2023-03-31 04:16:23 +08:00
bdfe03699f support import chat store 2023-03-30 14:33:54 +08:00
fecfc24519 support export as json 2023-03-30 13:56:03 +08:00