Commit Graph

237 Commits

Author SHA1 Message Date
lloydzhou 044116c14c add plugin selector on chat 2024-07-25 13:29:39 +08:00
Dogtiti fd441d9303 feat: discovery icon 2024-07-24 20:41:41 +08:00
Lloyd Zhou 5b126c7e52
Revert "feat: improve components structure" 2024-07-22 22:18:51 +08:00
Dogtiti 038e6df8f0 feat: improve components structure 2024-07-22 16:02:45 +08:00
lloydzhou fc31d8e5d1 merge origin/main 2024-07-20 15:15:46 +08:00
lloydzhou 287fa0a39c feat: 1. using cache storage store image data; 2. get base64image before chat to api #5013 2024-07-19 13:50:10 +08:00
jiangying 47d27c1f41 fix typo 2024-07-16 14:35:06 +08:00
lloydzhou 498d0f0b8b merge main 2024-07-11 15:29:47 +08:00
lloydzhou 82be426f78 fix eslint error 2024-07-09 18:19:34 +08:00
lloydzhou 9d7e19cebf display doubao model name when select model 2024-07-09 18:05:23 +08:00
lloydzhou 1c20137b0e support azure deployment name 2024-07-05 19:59:45 +08:00
licoy a16725ac17 feat: Improve SD list data and API integration 2024-07-03 15:37:34 +08:00
DeanYao d89a12aa05
Revert "Chat gpt" 2024-05-20 19:02:46 +08:00
Kivi1998 7f3516f44f
Merge branch 'main' into chatGPT 2024-05-16 15:14:43 +08:00
Hao Jia bfdb47a7ed ChatGPT Logo 2024-05-16 15:03:14 +08:00
Dean-YZG c10447df79 feat: 1)upload image with type 'heic' 2)change the empty message to ';' for models 3) 2024-05-13 16:24:15 +08:00
Dean-YZG a1493bfb4e feat: bugfix 2024-05-06 20:46:53 +08:00
butterfly b3e856df1d feat: fix 1)the property named 'role' of the first message must be 'user' 2)if default summarize model 'gpt-3.5-turbo' is blocked, use currentModel instead 3)if apiurl&apikey set by location, useCustomConfig would be opened 2024-05-06 19:26:39 +08:00
Wayland Zhan c96e4b7966 feat: Support a way to define default model by adding DEFAULT_MODEL env. 2024-04-19 06:57:15 +00:00
Raax 028957fcdc Fix "Enter" bug
Fix Chinese input method "Enter" on Safari
2024-03-16 21:55:16 +08:00
Snow Kawashiro 9775660da7
Update chat.tsx 2024-02-28 20:45:42 +08:00
Snow Kawashiro e7051353eb
vision_model_only 2024-02-28 20:38:00 +08:00
Snow Kawashiro bd19e97cf8
add_image_pasting 2024-02-28 20:05:13 +08:00
Fred e3b3ae97bc
chore: clear scroll info 2024-02-27 11:49:44 +08:00
Fred 410a22dc63
feat: auto detach scrolling 2024-02-27 11:43:40 +08:00
TheRam_ e2da3406d2
Add vision support (#4076) 2024-02-20 18:04:32 +08:00
durian 261a8fd83b fix(CUSTOM_MODELS):#3349 Dependency chatStore otherwise the session and view will not updated 2023-11-23 15:37:57 +08:00
Yidadaa b52e237044 fix: #3189 should correct math eq in exporter 2023-11-12 19:33:19 +08:00
Yidadaa a5a1f2e8ad feat: CUSTOM_MODELS support mapper 2023-11-12 00:46:21 +08:00
Yidadaa be9774943b feat: #3224 auto switch to first avaliable model 2023-11-12 00:29:36 +08:00
Yidadaa b7ffca031e feat: close #935 add azure support 2023-11-10 02:43:37 +08:00
Yidadaa d93f05f511 feat: close #3187 use CUSTOM_MODELS to control model list 2023-11-09 03:01:29 +08:00
Yidadaa 8c0ba1aee2 feat: close #2954 chat summary should be copyable 2023-11-09 01:51:33 +08:00
Yidadaa c5ca278253 feat: close #2908 allow to disable parse settings from link 2023-11-08 00:30:02 +08:00
Yidadaa 638fdd8c3e feat: default disable balance query 2023-11-08 00:20:34 +08:00
Algorithm5838 398e229c77
Update chat.tsx 2023-09-26 21:49:17 +03:00
Algorithm5838 6a61fe5776
Update chat.tsx 2023-09-26 20:45:09 +03:00
Yifei Zhang 26e50cefea
Update chat.tsx 2023-09-20 02:09:14 +08:00
Yidadaa 885f2a3226 feat: close #2752 auto re-fill unfinished input 2023-09-05 01:54:28 +08:00
reece00 4d3fdbdd80
The mobile terminal ishitbottom does not perform -10 2023-08-22 12:35:51 +08:00
Yifei Zhang e1142216ec
fix: #2672 should use correct resend index 2023-08-21 18:33:45 +08:00
Yidadaa 840277f584 fix: #2566 click avatar to edit context messages 2023-08-15 22:42:55 +08:00
Yidadaa db5c7aba78 fix: #2615 scrollbar jitter under certain message counts 2023-08-14 22:11:38 +08:00
Yidadaa 523d553dac fix: clear btn should display in correct place 2023-08-04 02:58:02 +08:00
Yidadaa 3e63f6ba34 feat: disable auto focus on mobile screen 2023-08-04 02:43:55 +08:00
Yidadaa bc5ddc4541 fixup: improve auto scroll algo 2023-08-04 02:39:32 +08:00
Yidadaa 203067c936 feat: close #2545 improve lazy load message list 2023-08-04 02:16:44 +08:00
Yidadaa 75d4eca722 chore: smaller auto scroll interval 2023-08-02 23:51:01 +08:00
Yidadaa b5ef552c25 feat: improve auto scroll ux and edit model title 2023-08-02 23:35:51 +08:00
Yidadaa cbabb9392c feat: improve ChatAction ux 2023-08-02 22:53:36 +08:00
Yidadaa 7c2fa9f8a4 feat: close #2449 edit / insert / delete messages modal 2023-07-21 00:24:26 +08:00
Yidadaa e5f6133127 feat: close #2447 pre-fill key/code/url 2023-07-20 23:17:58 +08:00
markshawn2020 3f8b14f5f8 fixed react key 2023-07-14 21:15:34 +08:00
Yidadaa c00a63e4c3 fix: #2336 resending message should delete origional messages 2023-07-10 22:59:12 +08:00
Yidadaa 09b05cde7f fix: #2303 should select custom models 2023-07-09 21:56:49 +08:00
Yidadaa 8e4743e719 feat: #920 migrate id to nanoid 2023-07-09 19:37:42 +08:00
Yidadaa b55b01cb13 feat: #2308 improve chat actions ux 2023-07-09 16:39:46 +08:00
Yidadaa ca295588c4 fix: #2308 improve chat actions 2023-07-09 16:15:58 +08:00
Yidadaa 0373b2c9dd feat: close #2266 use modal to switch model 2023-07-06 02:03:31 +08:00
Yidadaa 1197521921 fix: #2252 polyfill composing for old safari browsers 2023-07-05 22:50:12 +08:00
Yidadaa 4131fccbe0 feat: close #2192 use /list/models to get model ids 2023-07-04 23:16:24 +08:00
Yidadaa f2d748cfe4 refactor: improve modal ux 2023-07-04 22:08:41 +08:00
Yidadaa 0bc2c71b0c fix: #2230 hide chat actions for context prompts 2023-07-04 00:14:57 +08:00
兀米 3120087992
perf : 代码细节优化
大神, 学习代码过程中发现的一个小小的点,887行已定义`const isUser = message.role === "user";`,此处可直接用isUser
2023-06-30 12:00:03 +08:00
Yidadaa 3937dad6a6 feat: close #2187 improve chat actions ux 2023-06-30 00:39:54 +08:00
Yidadaa b044e274aa feat: close #2136 click avatar to edit message 2023-06-29 01:31:27 +08:00
Yidadaa ea6926cad3 feat: replace window.prompt with showPrompt 2023-06-29 00:09:56 +08:00
Yidadaa 3298961748 feat: replace window.confirm with showConfirm 2023-06-28 23:40:39 +08:00
Yidadaa 64c4f512ce fixup: #2149 chat action button style 2023-06-28 01:15:55 +08:00
Yidadaa 5b1d45c1a9 fix: #2149 try to fix chat action button style 2023-06-28 01:09:25 +08:00
Yidadaa bce74890dc fix: #2149 try to fix chat action button style 2023-06-28 01:02:56 +08:00
Yidadaa 6caf79121b feat: improve chat commands 2023-06-27 23:39:27 +08:00
Yidadaa 38c8ee8cd2 feat: improve message item buttons style 2023-06-27 23:29:53 +08:00
Yidadaa d5c33a1183 fix: #2149 try to fix ChatAction style on ios mobile 2023-06-27 23:07:12 +08:00
Yorun b003a374b8 fix: alignment of mobile settings page title. 2023-06-26 04:16:06 +00:00
Yifei Zhang d62eb56886
Merge pull request #2133 from quzard/fix_pin_bug
Fix Pin Message
2023-06-26 01:43:20 +08:00
quzard c2724c6aad Fix Pin Message: when userMessageIndex === 0, pinning a message was not possible. 2023-06-26 01:36:27 +08:00
Yidadaa 82ec4474c2 feat: align chat page title center on mobile screen 2023-06-26 01:27:36 +08:00
Yidadaa 7893693706 feat: close #1615 pin messages to contextual prompts 2023-06-26 00:21:58 +08:00
Yidadaa 25ce6af36e feat: new chat message actions style 2023-06-25 23:53:22 +08:00
Yidadaa ae1ef3215b feat: close #628 add chat commands 2023-06-24 23:38:11 +08:00
Yidadaa 5d06fa217c feat: close #2013 add switch model button to chat actions 2023-06-24 22:41:13 +08:00
Yidadaa 50b1f7db12 feat: right-click to copy message to user input 2023-06-24 22:32:46 +08:00
dingjunjie 9278d7f851 refactor: 优化 useScrollToBottom 2023-06-24 16:37:29 +08:00
Yidadaa fa9ceb5875 fix: #2087 chat box font size use global config 2023-06-23 20:57:43 +08:00
Yidadaa 93c666b03d feat: close #2025 just use a smaller to-bottom threshold 2023-06-23 20:53:08 +08:00
Yidadaa 698be6671c feat: enable drag area for tauri apps 2023-06-15 23:20:14 +08:00
Yidadaa 6264c02543 feat: add app logo and
release workflow
2023-06-15 02:49:08 +08:00
Yidadaa a7e9356c16 fixup: #1762 optimize style on mobile screen 2023-06-13 03:04:09 +08:00
Yidadaa 88df4a2223 feat: close #1762 add hover text for chat input actions 2023-06-13 02:27:39 +08:00
Yidadaa 57514e91b6 fix: #1685 clear context index should be recoverable 2023-06-07 01:18:05 +08:00
Yifei Zhang 0439d122a5
Merge pull request #1678 from Yidadaa/export
feat: close #580 export messages as image
2023-05-22 01:02:58 +08:00
Yidadaa 4dad7f2ab6 feat: close #580 export messages as image 2023-05-22 00:59:36 +08:00
ShengYan, Zhang 23f6c2e8c9 fix: bug #1662 2023-05-21 11:58:10 +08:00
Yidadaa 05b1b8b240 feat: close #1382 only clear memory btn in chat config 2023-05-21 02:04:30 +08:00
Yidadaa 35cec0f1df fixup: i18n and icon minor changes 2023-05-21 01:44:59 +08:00
Yidadaa a19d238483 feat: close #1415 clear context button 2023-05-21 01:28:09 +08:00
Yidadaa 6d8c7ba140 feat: close #1626 hide context prompts in mask config 2023-05-20 20:08:17 +08:00
Yidadaa af497c96ec fix: #1612 infinite loading 2023-05-20 19:58:12 +08:00
Yidadaa b1ba3df989 feat: close #1478 new chat use global config as default 2023-05-20 00:39:52 +08:00