Commit Graph
100 Commits
Author SHA1 Message Date
heimoshuiyu e09036860f add model gpt-4o-2024-08-06 2024-08-09 09:30:26 +08:00
heimoshuiyu 49537a0d58 add word-wrap: anywhere 2024-08-06 10:39:57 +08:00
heimoshuiyu 243f1a5ea5 Update ChatBOX component to display total tokens in the short status bar 2024-08-02 16:41:46 +08:00
heimoshuiyu b3a2988907 fix overflow-hidden class from navbar 2024-08-02 16:29:53 +08:00
heimoshuiyu 4e2ac186d5 show model price in long status bar 2024-08-02 16:17:16 +08:00
heimoshuiyu 41e3026ac5 bring the long status bar back 2024-08-02 11:19:37 +08:00
heimoshuiyu c123f9454a set chat bubble width to max 2024-07-30 18:54:32 +08:00
heimoshuiyu c473fd496e fix settings window overflow 2024-07-26 17:02:09 +08:00
heimoshuiyu 6a848580f6 Update navbar model name text size 2024-07-26 16:57:34 +08:00
heimoshuiyu 91f7043b7c replace class with className, clean style 2024-07-26 16:51:29 +08:00
heimoshuiyu 2b430bd395 Update navbar styling in ChatBOX component 2024-07-26 16:42:01 +08:00
heimoshuiyu 46c8a87a06 remove 0613 model 2024-07-26 16:21:31 +08:00
heimoshuiyu fb48723d34 Adjust styling and add line height to textarea 2024-07-24 10:55:45 +08:00
heimoshuiyu 370a680d94 update model list
- add gpt-4o-mini
- remove EOL models
- set default model to gpt-4o-mini
2024-07-19 09:34:22 +08:00
heimoshuiyu 9417b99ad4 fix prompt wrapping issue 2024-07-18 10:34:17 +08:00
heimoshuiyu 63b2f41b97 click prompt to open settings 2024-07-18 10:32:39 +08:00
heimoshuiyu 44f5d28565 click status bar model name to open settings 2024-07-18 10:30:53 +08:00
heimoshuiyu b3d84ea454 chatbox width: 100%
this fix the issue of the sidebar width changing.
2024-07-18 09:37:04 +08:00
heimoshuiyu b9fdfb8905 hide prompt if systemMessageContent is empty 2024-07-18 09:34:09 +08:00
heimoshuiyu 3328b3e94d fix: message word-wrap and develop mode UI 2024-07-18 09:31:29 +08:00
heimoshuiyuandGitHub 603ec23d24 Merge pull request #2 from ecwu/master
Refactor UI Design with DaisyUI
2024-07-18 09:14:06 +08:00
heimoshuiyu 4079ec77f9 Fix storage upgrade alert condition 2024-06-03 16:13:24 +08:00
heimoshuiyu 6e647d9181 fix delta is undefined 2024-05-22 15:41:56 +08:00
heimoshuiyu 4162866fd6 Add autoFocus to search input and improve code formatting 2024-05-15 18:22:52 +08:00
heimoshuiyu 09f6e5b490 Update models in models.ts 2024-05-15 15:57:42 +08:00
heimoshuiyu 6247d75234 Convert search query and content to lowercase 2024-05-15 00:59:57 +08:00
heimoshuiyu 4dd29af256 Refactor search.tsx to use preact/hooks 2024-05-14 19:06:06 +08:00
heimoshuiyu 245db574f8 Add query and preview to ChatStoreSearchResult 2024-05-14 19:04:12 +08:00
heimoshuiyu 2386e6f2e9 Update storage version to 11 and add alert during upgrade 2024-05-14 18:56:40 +08:00
heimoshuiyu 117fce390c Add search function 2024-05-14 18:51:41 +08:00
heimoshuiyu 8e1e82cf4b Update AddImage component UI 2024-05-14 09:40:27 +08:00
heimoshuiyu c0ec74638a Refactor chat message type switching logic 2024-05-14 09:35:33 +08:00
heimoshuiyu d4da4c3e32 Update headings and styles, and fix image layout in chatbox and editMessageDetail components 2024-05-14 09:34:12 +08:00
heimoshuiyu 2a21985a17 add gpt-4o models 2024-05-14 09:26:07 +08:00
heimoshuiyu f0c16a3cd1 localStorage follow
Build static content / build (push) Successful in 3m8s
2024-03-30 11:40:34 +08:00
heimoshuiyu f54b192616 add follow scroll option 2024-03-30 11:37:19 +08:00
heimoshuiyu b20de667a4 fix: set logprobs to default false 2024-03-16 18:32:39 +08:00
heimoshuiyu a76cf224f6 new button w-full
Build static content / build (push) Successful in 5m8s
2024-03-16 15:15:31 +08:00
heimoshuiyu 943cb5f392 add gitea action
Build static content / build (push) Successful in 4m30s
2024-03-07 02:08:22 +08:00
heimoshuiyu 74b60b4e95 fix: logprobs in vision model not permit 2024-02-24 09:47:44 +08:00
heimoshuiyu 24aba9ae07 fix: old version logprobs to false 2024-02-23 19:46:09 +08:00
heimoshuiyu 4b1f81f72b fix: build 2024-02-23 19:04:41 +08:00
heimoshuiyu 2224d2e5ed fix: old version logprobs to true 2024-02-23 19:02:08 +08:00
heimoshuiyu c9c51a85cf support logprobs 2024-02-23 19:00:20 +08:00
heimoshuiyu d01d7c747b change default model to gpt-3.5-turbo-0125 2024-02-20 15:28:43 +08:00
heimoshuiyu 159d0615c9 fix: new chatStore of param with old chatStore 2024-02-18 22:31:41 +08:00
heimoshuiyu e8650e2c7e add gpt-3.5-turbo-0125 2024-02-10 15:28:41 +08:00
heimoshuiyu 7f20e9b35f change default model to gpt-3.5-turbo 2024-02-10 11:48:04 +08:00
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