Commit Graph
100 Commits
Author SHA1 Message Date
heimoshuiyu 1391f3f26f v2.1.0 2024-01-30 10:41:13 +08:00
heimoshuiyu 0f97ce61ef move source code link to settings 2024-01-30 10:22:45 +08:00
heimoshuiyu cb3abe33e9 langCode from localStorage 2024-01-30 10:19:08 +08:00
heimoshuiyu 7130e8d163 change message type 2024-01-30 10:09:36 +08:00
heimoshuiyu a35c392728 fix: hide "add a tool call" 2024-01-30 10:01:51 +08:00
heimoshuiyu 55d8db1217 Revert "upgrade dependencies"
This reverts commit ab341f3893.
2024-01-29 15:07:16 +08:00
heimoshuiyu fcd3137a1e update openai models 2024-01-26 15:48:29 +08:00
heimoshuiyu ab341f3893 upgrade dependencies 2024-01-26 15:48:22 +08:00
heimoshuiyu 7a8a8fd64e fix: params on starting to create chaStore 2024-01-25 15:35:43 +08:00
heimoshuiyu ef3595cee2 fix: max param on newChatStore() 2024-01-25 15:08:08 +08:00
heimoshuiyu 24c37025b3 allow custom model 2024-01-23 15:31:50 +08:00
heimoshuiyu 78f0b1000a change: apply max url query in settings 2024-01-19 22:15:32 +08:00
heimoshuiyu e3162cac0d add: autofocus on input textarea 2024-01-17 09:48:22 +08:00
heimoshuiyu a4d3091e06 fix: send button auto height 2024-01-16 17:55:46 +08:00
heimoshuiyu 0eabcc0d0a show all saved apis 2024-01-16 17:48:41 +08:00
heimoshuiyu 36f2ce57d5 rename: assistant to ai 2024-01-16 17:39:43 +08:00
heimoshuiyu b6ae82aa9c fix: ctrl+enter trigger auto hegiht 2024-01-16 10:21:41 +08:00
heimoshuiyu 67a8140a01 fix: auto hegiht for textarea 2024-01-14 14:33:05 +08:00
heimoshuiyu 324e374884 add markdown style 2024-01-12 17:59:07 +08:00
heimoshuiyu 4f3f6bd544 change textarea auto height method 2024-01-12 17:17:48 +08:00
heimoshuiyu 18a7c7b5d7 rearrange setting fields 2024-01-12 16:57:25 +08:00
heimoshuiyu e7c5d9a8fd use emoji instead of hide 2024-01-12 16:50:34 +08:00
heimoshuiyu e097067d78 settings: move image gen api button 2024-01-12 16:39:34 +08:00
heimoshuiyu abe9d9532c settings: move tts button 2024-01-12 16:34:30 +08:00
heimoshuiyu ed59811819 settings: move whisper api button 2024-01-12 16:30:25 +08:00
heimoshuiyu 9157992ee1 settings: move save chat api button 2024-01-12 16:27:02 +08:00
heimoshuiyu d81be86947 args: max 2024-01-10 10:21:46 +08:00
heimoshuiyu 68a6ba40e5 fix: show save api template button 2023-12-26 17:36:49 +08:00
heimoshuiyu 54abddc517 skip when choices is empty 2023-12-22 17:14:28 +08:00
heimoshuiyu 54f2843677 user can send message without defining an api key 2023-12-22 17:11:11 +08:00
heimoshuiyu 59d31e356b disable auto change stream mode 2023-12-22 17:03:36 +08:00
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