Commit Graph

713 Commits

Author SHA1 Message Date
Yidadaa 6c6a2d08db feat: close #2267 display a modal to export image 2023-07-06 01:26:06 +08:00
Yidadaa 9e6617e3ca feat: add max icon for modals 2023-07-06 01:11:50 +08:00
Yidadaa 5c8be2a8f6 feat: close #1072 share mask as link 2023-07-05 23:19:54 +08:00
Yidadaa 1197521921 fix: #2252 polyfill composing for old safari browsers 2023-07-05 22:50:12 +08:00
Yidadaa 3863cfe786 fix: #2261 default enable gpt-4 models 2023-07-05 22:41:10 +08:00
Yidadaa 54bd07702c refactor: #2256 hide builtin masks 2023-07-05 22:39:25 +08:00
Yifei Zhang a75e2b0c0e
Merge pull request #2256 from marcusschiesser/main
feat: add setting to hide built-in masks
2023-07-05 22:30:28 +08:00
sunls233 089e3b8946 fix summarize don't send 2023-07-05 14:27:37 +08:00
GH Action - Upstream Sync 9c36fcec81 Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web 2023-07-05 00:12:23 +00:00
Marcus Schiesser 74fa065266 feat: add setting to hide builtin masks 2023-07-05 00:07:26 +07:00
Yifei Zhang 38f2495cf6
Merge pull request #2253 from Yidadaa/bugfix-0704
feat: close #2192 use /list/models to get model ids
2023-07-04 23:21:32 +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
PaRaD1SE98 0a2af9335c
fix: temperature -> top_p 2023-07-04 02:49:05 +09:00
Yidadaa cda074fe24 fixup 2023-07-04 00:40:57 +08:00
Yidadaa 823032617d feat: add top p config 2023-07-04 00:39:54 +08:00
Yidadaa 5963459499 fix: #2221 user prompts in front of all prompts 2023-07-04 00:22:30 +08:00
Yidadaa 0bc2c71b0c fix: #2230 hide chat actions for context prompts 2023-07-04 00:14:57 +08:00
Yifei Zhang c5c1a9ab3c
Merge pull request #2209 from tdzz1102/main
Update Japanese translation
2023-07-01 18:32:12 +08:00
Yidadaa ee55f8790e fix: #2208 use global settings button dose not work 2023-07-01 18:16:06 +08:00
tdzz1102 6d19fb3909 update japanese translate 2023-07-01 12:28:08 +08:00
Yifei Zhang 9057712c8f
Update chat.module.scss 2023-06-30 16:08:45 +08:00
兀米 3120087992
perf : 代码细节优化
大神, 学习代码过程中发现的一个小小的点,887行已定义`const isUser = message.role === "user";`,此处可直接用isUser
2023-06-30 12:00:03 +08:00
Yidadaa 0ec4cc223f fixup 2023-06-30 02:35:40 +08:00
Yidadaa be4834688d feat: close #2190 improve app auto updater 2023-06-30 00:39:54 +08:00
Yidadaa 3937dad6a6 feat: close #2187 improve chat actions ux 2023-06-30 00:39:54 +08:00
Yifei Zhang 3adca26808
Update chat.module.scss 2023-06-29 11:03:13 +08:00
Yifei Zhang 97a8bb52d6
Update ui-lib.module.scss 2023-06-29 01:40:54 +08:00
Yidadaa b044e274aa feat: close #2136 click avatar to edit message 2023-06-29 01:31:27 +08:00
Yidadaa 6c3d4a11cc feat: close #2141 danger zone 2023-06-29 01:09:51 +08:00
Yidadaa 98afd5516b feat: close #1994 add clipboard write api 2023-06-29 00:27:18 +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 0140f771c6 feat: close #2175 use default api host if endpoint is empty 2023-06-28 23:12:35 +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 1dd75b63de feat: [WIP] support webdav 2023-06-28 00:34:01 +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
Yifei Zhang 058e28911a
fix: #2135 disable cmd + arrow to change session 2023-06-26 18:29:46 +08:00
Yifei Zhang 25a3bb351d
Merge pull request #2143 from yorunning/fix2
fix: alignment of mobile settings page title.
2023-06-26 13:27:00 +08:00
Yidadaa 5f0cda829f feat: #2144 improve input template 2023-06-26 13:18:59 +08:00
Yorun b003a374b8 fix: alignment of mobile settings page title. 2023-06-26 04:16:06 +00:00
Yifei Zhang 5f7c262759
Merge pull request #2134 from Yidadaa/bugfix-0625
fix: input-range style
2023-06-26 01:51:55 +08:00
Yidadaa f3ab6b27c9 fix: input-range style 2023-06-26 01:51:35 +08: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
Yifei Zhang 0cde1683b6
Update window.scss 2023-06-26 01:35:38 +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
Constaline 2f2aefd48e fix: typo 2023-06-25 21:33:22 +08:00
Constaline c05de45d99 feat: add "Hide_Balance_Query" environment variable 2023-06-25 20:20:36 +08:00
Yidadaa b5eaa8272b chore: delete chat button position 2023-06-24 23:53:37 +08:00
Yidadaa 8915af9b6d fixup 2023-06-24 23:39:38 +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
Yifei Zhang fb82806956
Merge pull request #2117 from JunJD/优化useScrollToBottom
refactor: 优化 useScrollToBottom
2023-06-24 22:25:45 +08:00
Yifei Zhang 0658a93962
Merge pull request #2116 from Zizwar/main
Added support for Arabic language and right-to-left direction
2023-06-24 18:37:52 +08:00
Yifei Zhang f33be37070
Update constant.ts 2023-06-24 16:50:05 +08:00
dingjunjie 9278d7f851 refactor: 优化 useScrollToBottom 2023-06-24 16:37:29 +08:00
Zizwar 15f8d13d81 Set markdown-body RTL for Arabic text 2023-06-24 05:53:58 +00:00
Zizwar 946e508e8f Support left to right in language arabic 2023-06-24 05:10:34 +00:00
Zizwar 35b4125b98 Added support Arabic language 2023-06-24 04:30:52 +00:00
Xiaocheng Song 91d8f9d73e fix: #2111 make "Attached Messages Count" working 2023-06-24 05:53:39 +08:00
Yidadaa 1722f75dcb fixup 2023-06-24 00:18:27 +08:00
Yidadaa be597a551d feat: #close 1789 add user input template 2023-06-24 00:07:46 +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
PaRaD1SE98 f4c99c9cf7
fix: migrate modelConfig state 2023-06-22 02:11:07 +09:00
mushan0x0 9c05d136f5
fix: #2061 RequestInit TypeError 2023-06-20 11:57:31 +08:00
Yifei Zhang daeb8a67a3
Merge pull request #2048 from ilizhu/main
feat: i18n in message exporter
2023-06-20 02:45:48 +08:00
Yifei Zhang 67f23d202a
Merge pull request #2056 from Yidadaa/bugfix-0620
fix: #2055 should render mermaid completely
2023-06-20 02:38:59 +08:00
Yidadaa 3c38b9c93b fix: #2055 should render mermaid completely 2023-06-20 02:37:38 +08:00
zhuge c6696313bf 聊天记录导出格式为image时预览聊天信息项使用设置的语言 chat information items using the language in the settings when exporting chat records in image format 2023-06-19 16:16:09 +08:00
Yifei Zhang f3ec9f02eb
Merge pull request #1807 from AngelLiang/feat/frequency_penalty
feat: Add frequency_penalty request parameter
2023-06-18 14:36:55 +08:00
Yidadaa db63a5a670 fix: #1771 should not lose chat context when sumindex > n - count 2023-06-18 00:51:16 +08:00
Yidadaa 113bd24796 feat: add nynorsk option 2023-06-17 01:03:06 +08:00
Xavier Barbosa 567eff9ef4 Remove deprecated keys 2023-06-16 16:00:57 +01:00
Xavier Barbosa bfe33af03d Merge branch 'main' into norwegian-translation 2023-06-16 16:00:17 +01:00
Taro Ishihara aeaefbf8a9 Fix Japanese language file 2023-06-16 00:23:56 -07:00
Yidadaa 91b871ef3b feat: try to add auto updater 2023-06-15 23:55:18 +08:00
Yidadaa 698be6671c feat: enable drag area for tauri apps 2023-06-15 23:20:14 +08:00
Yidadaa 47c546fafa fix: #1982 should not fullscreen on standlone build 2023-06-15 22:34:50 +08:00
Jiacheng Dong 4dd5bf71ea
Update chat.ts 2023-06-15 13:59:38 +08:00
Jiacheng Dong 1d42e955fc
fix: updating the array using push in zustand does not actually trigger component updates 2023-06-15 10:55:25 +08:00
Jiacheng Dong e636d486f5
fix: updating the array using push in zustand does not actually trigger component updates 2023-06-15 10:23:01 +08:00
Yidadaa 6264c02543 feat: add app logo and
release workflow
2023-06-15 02:49:08 +08:00
Yidadaa 80d5bfd7c0 feat: add app dev mode 2023-06-15 01:48:56 +08:00
Yidadaa 184a0b9481 fix: #1954 lazy render bugs 2023-06-15 01:34:21 +08:00
Yidadaa 0fb775d71a fix: #1931 try to fix cors issues 2023-06-15 00:28:47 +08:00
Yidadaa 76fdd047e7 feat: new token count function 2023-06-15 00:14:38 +08:00
Yidadaa 8590750e4c feat: close #1960 add gpt-3.5-turbo-16k-0613 2023-06-14 23:22:59 +08:00
Yifei Zhang 590bd8e4bb
Merge pull request #1946 from cesaryuan/fix-selection
fix: remove selection range when user blured
2023-06-14 15:42:24 +08:00
Cesaryuan b4cb8c3d75 chore: translate comment to english 2023-06-14 14:40:51 +08:00
Cesaryuan 21aa015a79 fix: remove slection range when user blured 2023-06-14 14:30:08 +08:00
Yifei Zhang dd5b9d420b
Merge pull request #1928 from samelamin/fix_chat_time
fix date time bug on chat lists
2023-06-14 11:31:00 +08:00