Commit Graph

289 Commits

Author SHA1 Message Date
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
07885c681c show response model name 2023-03-30 13:39:19 +08:00
faac2303df gpt-4 内测提示 2023-03-30 13:01:28 +08:00
fc17d6ba15 fix copy max_token from chaStore to client 2023-03-29 16:42:57 +08:00
3de689a796 use gpt-3.5-turbo as default new ChatStore 2023-03-29 15:51:04 +08:00
35ee9cab0e highlight status bar 2023-03-29 15:48:49 +08:00
5fc2c62b4f select chat index after fetch 2023-03-29 15:37:36 +08:00
c31c6cd84a set maxToken based on model 2023-03-29 13:02:48 +08:00
6406993e83 handle create new chatstore on diff model 2023-03-29 12:51:31 +08:00
2d7edeb5b0 support gpt-4 2023-03-29 12:45:59 +08:00
1158fdca38 update stream mode based on response 2023-03-28 21:18:30 +08:00
7c34379ecb calculate token and forget some message 2023-03-28 21:12:34 +08:00
26a66d112b create chatStore if not equal params 2023-03-27 13:43:06 +08:00
e791367d2d break all text 2023-03-27 13:18:30 +08:00
30abf3ed15 auto create new chatStore if there any params in URL 2023-03-27 13:15:23 +08:00
146f34a22d 更好的提示 2023-03-26 21:00:28 +08:00
d5a8799fde issue caused by height: 100vh 2023-03-26 19:30:03 +08:00
241a93b151 更改默认 system message 2023-03-26 18:36:51 +08:00
a4b762586c 更好的文档和提示 2023-03-26 14:04:53 +08:00
700c424d64 更好的提示 2023-03-26 00:11:11 +08:00
6b4cbd62ac auto textarea height 2023-03-25 12:38:48 +08:00
61c4f548f1 fit message width 2023-03-25 02:08:25 +08:00
bb84045481 scroll to bottom of messages generating messages 2023-03-25 01:02:38 +08:00
7a15792c39 scroll to bottom of messages 2023-03-25 01:01:25 +08:00
2ab9a0a46c show correct message.length 2023-03-24 15:51:28 +08:00
99d3c69647 use stream mode depend on content-type 2023-03-24 13:14:34 +08:00
0148465e34 select last chat after delete 2023-03-24 10:51:19 +08:00
9b00cd0fbc Love from ChatGPT: How to make <p> show all space like <pre> 2023-03-22 20:28:30 +08:00
7149ed0310 更好的文档 2023-03-22 15:50:03 +08:00
46b842500d 更好的设置说明 2023-03-22 15:43:53 +08:00
f278e5b1fc split message.tsx 2023-03-22 15:39:25 +08:00
c7f731c2fa change p-4 to p-2 2023-03-22 15:30:02 +08:00
371adfb1d4 retry button 2023-03-22 14:42:27 +08:00
2ed7f9d05a 爱来自chatgpt: how to hide scrollbar in tailwind css? 2023-03-19 14:26:51 +08:00