Commit Graph
100 Commits
Author SHA1 Message Date
heimoshuiyu fe1a796daa fix: edit/del template will trigger set template 2023-12-22 13:02:51 +08:00
heimoshuiyu 8542a44817 change image gen role to assistant 2023-12-22 12:52:11 +08:00
heimoshuiyu 6a77ddc21a update help content 2023-12-21 13:23:09 +08:00
heimoshuiyu b1e15e8cb0 change max temperature to 2 2023-12-20 22:44:16 +08:00
heimoshuiyuandGitHub 639c3d5877 type: whisper api key 2023-12-15 23:43:16 +08:00
heimoshuiyu 09d43ed566 fix: tools call and function call 2023-12-14 17:35:31 +08:00
heimoshuiyu 9a42e2758c opt: tts play re-render 2023-12-07 01:14:58 +08:00
heimoshuiyu 3f2893d1bf fix: audio type 2023-11-30 12:04:03 +08:00
heimoshuiyu 92252f66ed support tts format 2023-11-30 12:01:15 +08:00
heimoshuiyu 97a75ce35f save tts audio 2023-11-30 11:47:29 +08:00
heimoshuiyu 647098ef83 support json_mode 2023-11-27 11:42:56 +08:00
heimoshuiyu 34d4827580 fix: undefind from template 2023-11-16 10:10:56 +08:00
heimoshuiyu 55608378b6 save tool templates 2023-11-11 13:36:29 +08:00
heimoshuiyu 8c877cb6a8 add default api endpoint 2023-11-11 13:22:07 +08:00
heimoshuiyu f3953693fd save whisper / tts / image gen api 2023-11-11 13:16:55 +08:00
heimoshuiyu a72e98ad25 add try catch alert to imageGen 2023-11-10 22:14:47 +08:00
heimoshuiyu bd6edb4ca8 show image gen button 2023-11-10 22:13:19 +08:00
heimoshuiyu adeadd3586 add image gen api 2023-11-10 22:10:16 +08:00
heimoshuiyu 35f1e9f052 add: add & delete tool_call 2023-11-10 20:59:47 +08:00
heimoshuiyu b7f519a679 split editMessage code 2023-11-10 20:51:51 +08:00
heimoshuiyu e9f8183d66 show tool status 2023-11-10 20:38:29 +08:00
heimoshuiyu 42094c1eab show content with tool call 2023-11-10 20:35:44 +08:00
heimoshuiyu 8f9d508a18 render tool reponse 2023-11-10 20:33:24 +08:00
heimoshuiyu 1217513ae3 fix undefined on tool_calls 2023-11-10 20:10:29 +08:00
heimoshuiyu 920ab2ea26 Merge branch 'tool-call' 2023-11-10 19:51:07 +08:00
heimoshuiyu aec8f5d40f reset current reset toolsString 2023-11-10 19:50:41 +08:00
heimoshuiyu dd56f1b94a message edit tool json 2023-11-10 19:49:34 +08:00
heimoshuiyu 94f9434fe5 fix: tool_calls body 2023-11-10 19:16:34 +08:00
heimoshuiyu f8cd357e81 inherit toolsString 2023-11-10 17:27:28 +08:00
heimoshuiyu ebf00353f6 fix: render del bug 2023-11-10 17:26:27 +08:00
heimoshuiyu 33f4ab7b42 fix copy render msg 2023-11-10 17:12:57 +08:00
heimoshuiyu 626e7780f8 fix tool-call streaming mode 2023-11-10 12:22:28 +08:00
heimoshuiyu 856976c03c fix fetch resp msg 2023-11-10 11:29:18 +08:00
heimoshuiyu 6aaf7beb5b add <hr /> above tool_call msg 2023-11-10 11:17:22 +08:00
heimoshuiyu e7e3e693ef tool call WIP 2023-11-09 17:48:04 +08:00
heimoshuiyu 81660d563f add support for tool call (function call) 2023-11-09 17:04:27 +08:00
heimoshuiyu 4b7d601840 fix user input msg content type 2023-11-09 13:42:33 +08:00
heimoshuiyu 1033298187 fix: edit msg token length 2023-11-09 13:16:13 +08:00
heimoshuiyu 415b7a02d8 show img button where model is vision 2023-11-08 20:23:28 +08:00
heimoshuiyu 72c3f337a7 update readme 2023-11-08 20:02:24 +08:00
heimoshuiyu 0c8938dea5 better cound token 2023-11-08 19:40:38 +08:00
heimoshuiyu e46e299094 default to high quality image 2023-11-08 19:29:12 +08:00
heimoshuiyu 0d27de52a3 change vision image_url format 2023-11-08 19:21:56 +08:00
heimoshuiyu b107aca639 allow send empty message with image 2023-11-08 18:37:39 +08:00
heimoshuiyu 8b6ceb36f1 add gpt-4-1106-vision-preview model 2023-11-08 18:36:24 +08:00
heimoshuiyu 7946ab236d support vision 2023-11-08 18:28:48 +08:00
heimoshuiyu ed090136ac add param max_gen_tokens 2023-11-08 16:16:15 +08:00
heimoshuiyu 9142665585 support message detail interface 2023-11-08 15:55:52 +08:00
heimoshuiyu 11b835460b alert success only if migrated 2023-11-08 15:22:13 +08:00
heimoshuiyu 053495254b v2.0.0 migrate to indexedDB 2023-11-08 13:54:51 +08:00
heimoshuiyu ed32f836ba Merge remote-tracking branch 'github/master' 2023-11-07 14:12:30 +08:00
heimoshuiyu 15054eec85 support tts 2023-11-07 13:50:49 +08:00
heimoshuiyu 63a8331250 add gpt-4 preview models 2023-11-07 11:53:54 +08:00
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 44e812bdb7 Revert "select audio device"
This reverts commit 6fa960a3c8.
2023-11-03 23:51:31 +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