兰天游
e1243f3d59
feat: add typings for metadata
2023-07-16 21:34:01 +08:00
Yidadaa
af5f67d459
feat: close #2376 add babel polyfill
2023-07-16 16:32:22 +08:00
Yidadaa
30473ec41e
fix : #2367 do not copy in async callback after sharing to ShareGPT
2023-07-16 16:14:57 +08:00
Yidadaa
3ddedc903e
feat: improve dnd icon
2023-07-16 15:49:15 +08:00
Yifei Zhang
e3c279b8be
Merge pull request #2389 from MarkShawn2020/fix-default-openai-url
...
fixed openai base url if empty
2023-07-16 15:20:26 +08:00
Yifei Zhang
08a8ac9971
Merge pull request #2388 from yikayiyo/feat-drag-prompts
...
feat: #2297 drag and drop in contextual prompts
2023-07-16 14:30:49 +08:00
Yifei Zhang
7073fd2f3b
Merge pull request #2392 from imldy/dev_SetInjectSystemPrompts
...
fix: enable `enableInjectSystemPrompts` attribute for old sessions
2023-07-16 14:29:50 +08:00
imldy
a9f67a48a1
dev: use current inject configuration
2023-07-15 02:48:47 +08:00
imldy
fd058cc693
fix: enable `enableInjectSystemPrompts` attribute for old sessions
2023-07-15 01:32:39 +08:00
markshawn2020
3f8b14f5f8
fixed react key
2023-07-14 21:15:34 +08:00
markshawn2020
1c335a68e0
fixed openai base url if empty
2023-07-14 21:03:32 +08:00
legao
fb98050d9f
feat: drag and drop in contextual prompts
2023-07-14 18:08:03 +08:00
Yifei Zhang
b51f7f9a25
Merge pull request #2370 from Yidadaa/bugfix-0712
...
fix: sharegpt roles
2023-07-12 23:21:22 +08:00
Yidadaa
d275e32e70
fix: sharegpt roles
2023-07-12 23:19:46 +08:00
Yifei Zhang
22cf78d506
Merge pull request #2355 from fyl080801/main
...
fix: cloudflare headers
2023-07-11 23:57:03 +08:00
imldy
a4d012828c
fix: migrated mask object key
2023-07-11 21:02:09 +08:00
yuanliang feng
a832cfb343
Update common.ts
2023-07-11 15:46:40 +08:00
yuanliang feng
9ef680db57
Merge pull request #2 from fyl080801/main
...
update
2023-07-10 23:35:19 +08:00
yuanliang feng
2c09f4ef90
Merge pull request #1 from fyl080801/main
...
update
2023-07-10 23:23:20 +08:00
Yidadaa
ad1b9b7f6d
fixup
2023-07-10 23:21:22 +08:00
Yidadaa
15e063e1b5
feat: #2330 disable /list/models
2023-07-10 23:19:43 +08:00
Yidadaa
c00a63e4c3
fix : #2336 resending message should delete origional messages
2023-07-10 22:59:12 +08:00
imldy
f59235bd5a
feat: 翻译InjectSystemPrompts配置项为其他语言
2023-07-10 20:14:10 +08:00
imldy
2930ba0457
fix: 修改InjectSystemPrompts.SubTitle使其更符合系统行为
2023-07-10 20:12:51 +08:00
imldy
1513881eed
fix: 修改是否应该注入System Prompt的判断规则为根据设置项
2023-07-10 18:57:54 +08:00
imldy
5e361f6748
dev: 增加模型设置项:是否启用注入全局 System Prompt 功能
2023-07-10 18:56:22 +08:00
yuanliang feng
7a0b437626
Update common.ts
2023-07-10 17:26:28 +08:00
ShengYan, Zhang
dd047fd58f
fix: typos
2023-07-10 10:09:19 +08:00
Yifei Zhang
e668e17655
Merge pull request #2317 from Yidadaa/bugfix-0709-2
...
fix : #2303 should be able to select custom models
2023-07-09 22:12:04 +08:00
Yidadaa
a913d9728c
fixup
2023-07-09 22:06:41 +08:00
Yidadaa
48a6cdd50a
feat: improve model selector ui
2023-07-09 22:01:04 +08:00
Yidadaa
09b05cde7f
fix : #2303 should select custom models
2023-07-09 21:56:49 +08:00
SergeWilfried
da294038a8
Merge pull request #2 from Yidadaa/main
...
Upstream Sync
2023-07-09 13:21:05 +00:00
Yidadaa
8e4743e719
feat: #920 migrate id to nanoid
2023-07-09 19:37:42 +08:00
Yidadaa
98ac7ee277
feat: close #2303 add custom model name config
2023-07-09 18:15:52 +08:00
Yidadaa
28c457730a
fix : #2280 auto-detect models from 'list/models'
2023-07-09 18:03:06 +08:00
Yidadaa
b55b01cb13
feat: #2308 improve chat actions ux
2023-07-09 16:39:46 +08:00
Yidadaa
90d8f3117f
fix : #2295 use correct methods to migrate state
2023-07-09 16:28:15 +08:00
Yidadaa
ca295588c4
fix : #2308 improve chat actions
2023-07-09 16:15:58 +08:00
serge
437334355f
chore(fr.ts): update French translations for improved user experience and clarity
...
feat(fr.ts): add new translations for pinning messages, editing, and input actions
feat(fr.ts): add new translations for commands and input actions related to conversation management
feat(fr.ts): add new translations for settings options related to resetting and clearing data
feat(fr.ts): add new translations for settings options related to language, font size, and input template
feat(fr.ts): add new translations for settings options related to update version and presence penalty
feat(fr.ts): add new translations for settings options related to masking and built-in assistants
feat(fr.ts): add new translations for settings options related to temperature and top P
feat(fr.ts): add new translations for settings options related to max tokens and presence penalty
feat(fr.ts): add new translations for settings options related to cloning and configuration
feat(fr.ts): add new translations for settings options related to avatar, name, sync, hide context, and sharing
2023-07-08 14:12:46 +00:00
Yifei Zhang
05fcb96181
Merge pull request #2275 from Saber-Kurama/pref/api-models
...
perf: models接口返回异常数据的容错处理
2023-07-07 11:23:30 +08:00
PaRaD1SE98
c10e8382a9
fix: selector z-index bug
2023-07-07 04:15:05 +09:00
guochao
6653a31eb7
perf: models接口返回数据的容错处理
2023-07-06 20:00:30 +08:00
Yidadaa
9a285ab935
fixup
2023-07-06 02:12:37 +08:00
Yifei Zhang
81771568be
Merge pull request #2269 from Yidadaa/bugfix-0705
...
feat: improve image preview & model switcher model ux
2023-07-06 02:09:05 +08:00
Yidadaa
52203b50eb
fixup
2023-07-06 02:07:35 +08:00
Yidadaa
0373b2c9dd
feat: close #2266 use modal to switch model
2023-07-06 02:03:31 +08:00
ki-ask
fe2c1c4ec6
Added support for Bangla language
2023-07-05 23:55:43 +06:00
ki-ask
596b6542e8
Added support for Bangla language
2023-07-05 23:55:14 +06:00
ki-ask
6897bf1254
Added support for Bangla language
2023-07-05 23:39:22 +06:00
ki-ask
8a6a13e583
Added support for Bangla language
2023-07-05 23:35:55 +06:00
Yidadaa
b718285125
feat: improve svg viewer
2023-07-06 01:33:30 +08:00
ki-ask
e5ab918ef9
Added support for Bangla language
2023-07-05 23:31:45 +06:00
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
suhipek
d2ae740d5f
add new models
2023-06-14 01:51:37 +08:00
samelamin
c56c6074e9
fix date time bug
2023-06-13 18:32:51 +01:00
Yidadaa
50cd33dbb2
feat: #1000 ready to support client-side only
2023-06-14 00:37:42 +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
0d4611052e
feat: white url list for openai security
2023-06-13 00:39:29 +08:00
Old Dream
1d790b9e8d
修改 auth.tsx 输入框为password
2023-06-09 12:39:42 +08:00
Yidadaa
6410aa214e
feat: just disable all ngnix buffer
2023-06-08 23:49:06 +08:00
Yidadaa
a3a77006ff
fixup: #1815 req.body will be broken in edge runtime
2023-06-07 02:24:45 +08:00
Yidadaa
ebbd0128f1
feat: close #741 add auth page
2023-06-07 02:18:24 +08:00
Yidadaa
57514e91b6
fix : #1685 clear context index should be recoverable
2023-06-07 01:18:05 +08:00
Yidadaa
37da759fd5
fix : #1815 refuse to serve when disable gpt4
2023-06-07 01:02:01 +08:00
AngelLiang
72cbb156ae
feat: Add frequency_penalty request parameter
2023-06-04 16:05:35 +08:00
Yifei Zhang
94be03ec4f
Merge pull request #1781 from yanCode/fix/css-top-actions
...
fix: [CSS] the position of top-action buttons
2023-06-01 10:57:45 +08:00
ShengYan, Zhang
6bbdaf7ab0
fix: the display format of json
2023-05-31 19:39:39 +08:00
ShengYan, Zhang
846e323840
fix: the position of top-action buttons
2023-05-31 15:45:12 +08:00
LeviDing
c1cc3d1d1f
fix: style typo error in home.module.scss
2023-05-30 18:42:13 +08:00
ShengYan, Zhang
7ac03b4d89
chore: remove unused code
2023-05-29 09:54:02 +08:00
popcell
d533895637
fix : #1746 Can't modify immutable headers.
2023-05-25 17:50:46 +08:00
Yifei Zhang
aa74a74c5c
Merge pull request #1742 from wsw2000/refactor/listitem-undefined-classname
...
refactor: Fix undefined className in ListItem
2023-05-25 16:40:51 +08:00
wsw
96d2f05eb7
refactor: Fix undefined className in ListItem
2023-05-25 01:13:19 +08:00
Yidadaa
3e65ef3bea
feat: share to ShareGPT
2023-05-25 01:04:37 +08:00
Yidadaa
4ca34e0436
fix : #1711 input range style in mobile screen
2023-05-24 23:21:18 +08:00
gtoxlili
ed14a0029a
fix : issues #1732
2023-05-24 21:08:32 +08:00
Yifei Zhang
8874c687d8
Merge pull request #1728 from yanCode/fix/steps
...
fix: bug #1727
2023-05-24 20:04:30 +08:00
jarieshan
3e3055d7df
Add Jailbreak Mask
2023-05-24 17:33:04 +08:00
jarieshan
b68d6e9d1a
Revert "Add Jailbreak Mask"
...
This reverts commit cf9d200b7c
.
2023-05-24 17:23:43 +08:00
jarieshan
cf9d200b7c
Add Jailbreak Mask
2023-05-24 17:19:27 +08:00
ShengYan, Zhang
e84da3089a
fix state loss after user switches from steps
2023-05-24 14:44:06 +08:00
ShengYan, Zhang
fee38b8d13
fix: a few typos
2023-05-24 14:42:36 +08:00
Yifei Zhang
adb50fe64f
Merge pull request #1695 from PaRaD1SE98/PaRaD1SE98-patch-2
...
fix: use Select component
2023-05-23 16:27:42 +08:00
imgbot[bot]
cd7e8bbd3e
chore: optimize images ( #1 )
...
*Total -- 122.47kb -> 90.64kb (25.98%)
/public/android-chrome-512x512.png -- 23.67kb -> 8.61kb (63.61%)
/app/icons/chatgpt.png -- 9.37kb -> 3.59kb (61.73%)
/app/icons/bot.png -- 7.14kb -> 4.98kb (30.2%)
/app/icons/three-dots.svg -- 1.46kb -> 1.09kb (25.75%)
/public/apple-touch-icon.png -- 11.30kb -> 8.45kb (25.21%)
/public/android-chrome-192x192.png -- 12.39kb -> 9.60kb (22.51%)
/public/favicon-32x32.png -- 1.51kb -> 1.22kb (19.21%)
/app/icons/min.svg -- 2.41kb -> 2.04kb (15.2%)
/app/icons/max.svg -- 2.24kb -> 1.90kb (14.98%)
/app/icons/menu.svg -- 1.17kb -> 1.00kb (14.64%)
/app/icons/share.svg -- 0.72kb -> 0.63kb (12.84%)
/app/icons/add.svg -- 1.25kb -> 1.09kb (12.46%)
/app/icons/github.svg -- 1.97kb -> 1.76kb (10.68%)
/app/icons/brain.svg -- 1.81kb -> 1.64kb (9.42%)
/app/icons/black-bot.svg -- 4.17kb -> 3.89kb (6.66%)
/docs/images/icon.svg -- 4.17kb -> 3.89kb (6.57%)
/app/icons/bottom.svg -- 0.72kb -> 0.69kb (4.08%)
/app/icons/download.svg -- 1.70kb -> 1.64kb (3.96%)
/app/icons/left.svg -- 0.56kb -> 0.54kb (3.49%)
/app/icons/down.svg -- 0.56kb -> 0.54kb (3.48%)
/app/icons/mask.svg -- 2.13kb -> 2.06kb (3.21%)
/app/icons/export.svg -- 1.20kb -> 1.16kb (3.17%)
/app/icons/copy.svg -- 0.99kb -> 0.96kb (2.87%)
/app/icons/prompt.svg -- 1.23kb -> 1.20kb (2.38%)
/app/icons/plugin.svg -- 3.54kb -> 3.48kb (1.6%)
/app/icons/delete.svg -- 23.11kb -> 23.00kb (0.49%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-05-23 13:57:26 +08:00
parad1se_jp
99317f759b
fix: use Select component
2023-05-23 01:57:45 +09:00
Yidadaa
d34676c5b2
fixup
2023-05-22 23:59:11 +08:00
Yidadaa
4cf659c29b
chore: wont send system info if user use a mask
2023-05-22 23:52:09 +08:00
Yidadaa
ec61a5b32d
fix : #1681 replace svg icons with png icons
2023-05-22 23:49:11 +08:00
Yidadaa
58f726c602
fix : #1668 should not summarize twice
2023-05-22 23:12:26 +08:00
Yifei Zhang
e9642c7505
fix : #1688 wrong clear context index
2023-05-22 18:56:19 +08:00
Yifei Zhang
f0b4ef5917
Merge pull request #1679 from Yidadaa/export
...
chore: mobile export image style
2023-05-22 01:25:49 +08:00
Yidadaa
1f12753c68
chore: mobile export image style
2023-05-22 01:23:08 +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
c2b36cdffa
feat: prevent browser to invoke basic auth popup
2023-05-21 00:06:28 +08:00
Yidadaa
600b1814a1
fix: wont show auth popup when receiving a 401 http code
2023-05-20 23:58:36 +08:00
Yidadaa
76e6957a8a
fixup
2023-05-20 23:53:39 +08:00
Yidadaa
f14b413b7c
feat: scrollable mask lists in new-chat page
2023-05-20 23:49:10 +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
Yidadaa
203ac0970d
feat: #1640 support free gpt endpoint
2023-05-19 23:53:27 +08:00
ShengYan, Zhang
f8ef6278a5
fix: css on display chat names
2023-05-19 20:14:57 +08:00
Yifei Zhang
7f13a8d2bc
feat: support fast chatgpt mobile models
2023-05-19 18:34:48 +08:00
ShengYan, Zhang
f6c268dc1e
fix: allow to import a single mask
2023-05-19 10:39:34 +08:00
Yidadaa
50cfbaaab5
feat: partial locale type
2023-05-19 00:59:04 +08:00
Yidadaa
de775511d0
feat: some en masks
2023-05-19 00:38:39 +08:00
Yidadaa
a524a60c46
fix : #1611 show corret message when can not query usage
2023-05-19 00:27:25 +08:00
Yidadaa
6cf2fa02e5
fix : #1612 fill empty message with a placeholder
2023-05-19 00:24:25 +08:00
Yifei Zhang
1a8cb877db
Merge pull request #1605 from Allengl/update
...
add new mask 简历写手
2023-05-18 17:33:22 +08:00
Clarence Dan
ac79d810d0
Fix memory leak issue by adding fetch request timeout
...
This commit resolves a memory leak issue that was occurring due to fetch requests hanging indefinitely. A timeout has been introduced to the `requestOpenai` function which ensures that these requests are aborted after a set period of time (currently 10 minutes). Additionally, error handling has been added to catch and log `AbortError` when a fetch request is aborted. This fix significantly improves the stability and reliability of the application by preventing memory leaks related to unresolved fetch requests.
2023-05-18 16:55:51 +08:00
Clarence Dan
2b912c6834
fix: Fix memory leak issue by adding fetch request timeout
...
This commit resolves a memory leak issue that was occurring due to fetch requests hanging indefinitely. A timeout has been introduced to the `requestOpenai` function which ensures that these requests are aborted after a set period of time (currently 10 minutes). Additionally, error handling has been added to catch and log `AbortError` when a fetch request is aborted. This fix significantly improves the stability and reliability of the application by preventing memory leaks related to unresolved fetch requests.
2023-05-18 16:52:32 +08:00
guolong
cf2404743d
add new mask 简历写手
2023-05-18 16:49:30 +08:00
Yifei Zhang
38bffd423c
Merge pull request #1580 from Allengl/update
...
Add Korean translation 增加国际化语言:韩语
2023-05-18 11:38:54 +08:00
kirk.shan
789f3d993c
fix content-type = text/event-stream;charset=utf-8
2023-05-18 10:25:06 +08:00
Allen
d5376ab090
Merge branch 'Yidadaa:main' into update
2023-05-18 09:15:27 +08:00
Yidadaa
3fe521421f
chore: dynamic server config
2023-05-18 02:15:30 +08:00
Yidadaa
85445c4ef2
chore: wont parse finished result
2023-05-18 02:09:05 +08:00
Yidadaa
5f2745c32a
feat: handle non-stream response
2023-05-18 02:04:12 +08:00
Yidadaa
736c66f46a
feat: stop all stale messages
2023-05-18 01:24:36 +08:00
Yidadaa
30676d118f
fix : #1571 #1578 handle more error code
2023-05-18 00:14:29 +08:00
root
e306ac0197
add type LocaleType
2023-05-17 23:20:48 +08:00
root
65c6b4af82
Add Korean translation
2023-05-17 22:59:35 +08:00
Yifei Zhang
a402f646fe
Merge pull request #1562 from Gan-Xing/update
...
Add French Translation -- 增加法语翻译
2023-05-17 20:53:49 +08:00
ShengYan, Zhang
94a2104b55
fix: set openWhenHidden to be true
2023-05-17 17:20:17 +08:00
Gan-Xing
75bf75d552
法语翻译key值修改
2023-05-17 12:20:48 +08:00
Gan-Xing
5bbe59c9a2
Merge branch 'Yidadaa:main' into main
2023-05-17 12:01:44 +08:00
Yifei Zhang
31a874e24e
Revert "feat: close #1433 add french translation"
2023-05-17 11:18:21 +08:00
Yifei Zhang
987412db51
Merge pull request #1435 from Gan-Xing/update
...
add french translation -增加法语翻译
2023-05-17 10:46:30 +08:00
ShengYan, Zhang
e00652ce86
fix : #1533 handle non-stream type
2023-05-17 08:50:50 +08:00
Gan-Xing
dbb016c9e4
Merge branch 'Yidadaa:main' into main
2023-05-16 16:12:20 +08:00
simondby
44874fb5e0
fix: typo PresencePenlty -> PresencePenalty
2023-05-16 15:40:43 +08:00
Yifei Zhang
daecd3efa1
Merge pull request #1534 from Quorafind/fix_enter_key_to_select_prompt
...
Fix: press enter to select prompt when set pressing `enter` key to submit
2023-05-16 15:33:36 +08:00
Yifei Zhang
86e4b58117
Merge pull request #1533 from legionhealth/github-copilot-mask
...
GitHub Copilot mask (english)
2023-05-16 15:33:27 +08:00
Daniel G. Wilson
7141962cce
Update en.ts to fix quotes for Copilot mask
2023-05-15 23:11:04 -05:00
Quorafind
cf775e3487
fix: enter key cannot select prompt when using enter key to submit
2023-05-16 12:06:06 +08:00
Daniel G. Wilson
44e1bed57a
Update en.ts whoops actually fixed single / double quotes
2023-05-15 22:55:42 -05:00
Daniel G. Wilson
915ba07f86
Update en.ts - fixed single quotes to match original
2023-05-15 22:54:41 -05:00
Daniel G. Wilson
a852c5d0c3
Update en.ts masks to include GitHub Copilot mask (leaked prompt)
2023-05-15 22:52:44 -05:00
PaRaD1SE98
8cde6cd4d7
Merge pull request #1 from PaRaD1SE98/fix_typo
...
fix: typo reqestTimeoutId -> requestTimeoutId
2023-05-16 10:01:45 +09:00
PaRaD1SE98
06534fa0ae
fix: typo reqestTimeoutId -> requestTimeoutId
2023-05-16 09:59:30 +09:00
Gan-Xing
8568fc3544
Merge branch 'Yidadaa:main' into main
2023-05-16 07:13:53 +08:00
Yidadaa
71cbf86b2c
fixup: add more error info
2023-05-16 01:58:58 +08:00
Yidadaa
aed6b34950
fix : #1498 missing text caused by streaming
2023-05-16 01:25:16 +08:00
Gan-Xing
e9076c1748
Merge branch 'Yidadaa:main' into main
2023-05-16 00:33:18 +08:00
Yidadaa
8b0cf7d248
fix : #1509 openai url split
2023-05-16 00:22:11 +08:00
PaRaD1SE98
b357e2ecef
fix: typo IMPRTANT -> IMPORTANT
2023-05-15 10:03:11 +09:00
Gan-Xing
7b4e4c2172
Merge branch 'Yidadaa:main' into main
2023-05-15 07:31:52 +08:00
Yidadaa
9e602eb575
fixup: decode in stream mode
2023-05-15 02:01:50 +08:00
Yidadaa
5979bdd48e
fixup
2023-05-15 01:55:45 +08:00
Yidadaa
5f444c1c82
fix: conflict
2023-05-15 01:36:22 +08:00
Yidadaa
a3de277c43
refactor: #1000 #1179 api layer for client-side only mode and local models
2023-05-15 01:33:46 +08:00
Yifei Zhang
b5b8593e7f
Merge pull request #1492 from Yidadaa/bugfix-0514
...
fix : #1444 async load google fonts
2023-05-14 23:29:01 +08:00
Yidadaa
03163d6a61
fix : #1444 async load google fonts
2023-05-14 23:25:22 +08:00
Yidadaa
bd90caa99d
refactor: llm client api
2023-05-14 23:00:17 +08:00
Yifei Zhang
cada0aa70b
Merge pull request #1491 from Yidadaa/bugfix-0514
...
fix : #1423 should not scroll right when dragging side bar items
2023-05-14 22:57:01 +08:00
Gan-Xing
cbde357d94
Merge branch 'Yidadaa:main' into main
2023-05-14 20:25:13 +08:00
Gan-Xing
c73c063ad5
merge
2023-05-14 07:34:15 +08:00
Yidadaa
6da3aab046
fix : #1423 should not scroll right when dragging side bar items
2023-05-14 02:21:35 +08:00
PaRaD1SE98
ff2589c97f
remove error messages for chat title summary
2023-05-14 02:34:32 +09:00
PaRaD1SE98
a9f000e7ef
remove error messages in toBeSummarizedMsgs
2023-05-14 01:24:20 +09:00
Yifei Zhang
d9be63e6cb
Merge pull request #1452 from PaRaD1SE98/main
...
fix: typo upater -> updater
2023-05-13 14:52:12 +08:00
Yifei Zhang
1a626a68f0
Merge pull request #1450 from yorunning/fix-1
...
fix: the theme-color selector
2023-05-13 14:50:54 +08:00
Yifei Zhang
330504b91e
Merge pull request #1446 from wsw2000/feat/switchWindowScrollIntoView
...
feat: scrolling effect when switching chat windows
2023-05-13 14:50:42 +08:00
Yifei Zhang
6bb0166055
Merge pull request #1454 from yanCode/fix/i18n
...
fix: show Vietnamese in its own language
2023-05-13 14:48:06 +08:00
InitialXKO
5b9b120fa6
增加文生图面具
2023-05-13 09:36:04 +08:00
ShengYan, Zhang
a0e192b6e4
fix: show Vitenamese in it's own language
2023-05-13 07:23:14 +08:00
PaRaD1SE98
dc3fa6c780
Update settings.tsx
...
fix: typo upater -> updater
2023-05-12 22:46:22 +09:00
Yorun
dd5604f5d9
style: move nextjs supported meta tags to metadata
2023-05-12 19:23:49 +08:00
Yorun
170936a96e
fix: the theme-color selector
2023-05-12 18:47:41 +08:00
wsw
93c9974019
feat: scrolling effect when switching chat windows
2023-05-12 17:54:40 +08:00
Gan-Xing
dbd92b2db9
Merge branch 'Yidadaa:main' into main
2023-05-12 08:26:45 +08:00
599153574@qq.com
f2b81a2f23
add french translation -增加法语翻译
2023-05-12 07:51:04 +08:00
Yidadaa
36adfe87fb
fix : #1401 try to disable zoom
2023-05-11 23:21:16 +08:00
Yifei Zhang
cdfcf0f068
Merge pull request #1421 from zxdclyz/hide-hints
...
Fix: click the prompt button to hide hints when it's already shown
2023-05-11 18:53:59 +08:00
liyuze
ec19b86ade
fix: click the prompt button to hide hints when it's already shown
2023-05-11 18:29:25 +08:00
ShengYan, Zhang
7bf74c6a5d
fix: bug #1413 cmd/alt/ctrl should be checked for arrowUp events
2023-05-11 16:08:34 +08:00
ShengYan, Zhang
cbb50c14e1
fix: bug #1413 input '/' when clicking icon to open prompt modal
2023-05-11 15:42:32 +08:00
Yifei Zhang
d42622a5c1
Merge pull request #1383 from PaRaD1SE98/main
...
给所有select元素添加一个右侧下拉按钮
2023-05-11 11:48:59 +08:00
Petr Branberger
c87eee1fda
Fixed typo syntax error
2023-05-10 16:33:22 +02:00
PaRaD1SE98
960aa90c32
优化Select component
2023-05-10 14:09:30 +00:00
Per André Rønsen
5a10b2a75f
Update no.ts with const no: LocaleType
2023-05-10 14:59:57 +01:00
Per André Rønsen
72b553efe8
Add files for Norwegian translation
2023-05-10 14:59:36 +01:00
Petr Branberger
c4210be3c7
Czech language update
2023-05-10 15:48:36 +02:00
Petr Branberger
28a49827ff
Merge branch 'main' of https://github.com/pBrambi/ChatGPT-Next-Web
2023-05-10 15:12:31 +02:00
Petr Branberger
736869454b
Fix /cs.ts to include the option
2023-05-10 12:50:12 +02:00
Petr Branberger
db9084b0dc
Fix redefined "DE" in /index.ts
2023-05-10 12:39:33 +02:00
crim50n
71a546dd44
Adding Russian translation
...
Adding a Russian translation and fixing other language files to make them look the same.
2023-05-10 10:16:40 +03:00
PaRaD1SE98
96e3d3a22c
给所有select元素添加一个右侧下拉按钮
2023-05-10 07:14:49 +00:00
ShengYan, Zhang
a80dcaa1c3
fix: row count logic
2023-05-10 09:27:33 +08:00
Yidadaa
cb55ce084c
feat: add model and time info to prompts
2023-05-10 00:51:43 +08:00
Yidadaa
e4630e6a0f
fixup
2023-05-09 23:38:34 +08:00
Yidadaa
6d9abf11b8
fix : #1363 session index after deleting
2023-05-09 23:36:30 +08:00
Yidadaa
7e8def50aa
feat: close #444 use env var to disable gpt-4
2023-05-09 23:20:03 +08:00
Yidadaa
2b7f72deec
feat: close #1055 cmd/alt/ctrl + arrow up/down to switch window
2023-05-09 23:01:17 +08:00
Yidadaa
9b1f25140e
fix : #1359 empty line wrap count
2023-05-09 22:46:06 +08:00
Yidadaa
222301307f
feat: close #1301 support message actions
2023-05-09 00:39:00 +08:00
Yidadaa
1b19fdfe11
feat: #1303 improve long text input ux and mobile modal
2023-05-08 22:49:51 +08:00
Yidadaa
1f2ef1cdb7
fix : #1307 empty messages
2023-05-08 22:21:06 +08:00
Yidadaa
c394b21423
fix : #1294 fallback while mermaid render fails
2023-05-08 22:18:19 +08:00
Yifei Zhang
696e84ea88
Merge pull request #1315 from binh234/vi_translation
...
Add Vietnamese translation
2023-05-08 11:51:28 +08:00
ShengYan, Zhang
9bcfe6461d
chore: remove an unused css name
2023-05-08 08:48:47 +08:00
ShengYan, Zhang
4a82a91f2d
fix: styles on .user-prompt-buttons
2023-05-08 08:27:10 +08:00
Mokou
6d62ab4257
feat: mobile chat overscroll-behavior none
2023-05-07 18:33:40 +08:00
Binh Le
f6ff32f339
Add Vietnamese translation
2023-05-07 14:54:09 +07:00
LaChimere
1facbb2906
fix typo
2023-05-07 13:52:26 +08:00
ShengYan, Zhang
96545bd523
fix: show Loading Icon when checking repo update
2023-05-06 20:12:26 +08:00
Yidadaa
d88da1f6ab
feat: close #951 support mermaid
2023-05-05 23:32:35 +08:00
Yidadaa
fe8e3f2bcf
fix : #1273 overlap detecting
2023-05-05 22:59:21 +08:00
Yidadaa
4b9d753254
fix : #1251 use google fonts mirror
2023-05-05 22:49:41 +08:00
Yifei Zhang
ec655f5182
Merge pull request #1248 from wsw2000/main
...
refactor: determine userInput by trimming
2023-05-04 23:26:02 +08:00
Yifei Zhang
093df395c7
Merge pull request #1235 from xesrc/main
...
resolve problem about basic auth when the app is behind a proxy server
2023-05-04 23:25:49 +08:00
wsw
319959ad6e
refactor: determine userInput by trimming
2023-05-04 22:53:22 +08:00
Yidadaa
c2e79d22d2
fix : #1233 detect api key with custom prefix
2023-05-04 22:50:07 +08:00
Yidadaa
596c9b1d27
feat: close #887 import masks
2023-05-04 22:33:13 +08:00
Yidadaa
40223e6b3f
fix : #1237 can not delete cloned mask
2023-05-04 22:31:10 +08:00
Yidadaa
eec1dd6448
fix: proxy api request
2023-05-04 22:18:03 +08:00
xesrc
a5fe9bc6d6
resolve problem about basic auth when the app is behind a proxy server
2023-05-04 16:11:44 +08:00
Yidadaa
fce3b3ce7b
feat: use commit time as version id
2023-05-04 00:12:00 +08:00
Yidadaa
074bd9f045
feat: close #663 allow disable user api key input
2023-05-03 23:49:33 +08:00
Yidadaa
b1ea26467d
refactor: extract client side openai url
2023-05-03 23:25:17 +08:00
Yidadaa
48ebd74859
refactor: merge token and access code
2023-05-03 23:08:37 +08:00
Yidadaa
ef5b7ce853
refactor: merge /api/chat-stream to /api/openai
2023-05-03 17:07:09 +08:00
Yidadaa
06268543d0
fixup
2023-05-03 16:24:25 +08:00
Yidadaa
58eadd6d7b
feat: close #782 select prompt with arrow down / up
2023-05-03 16:22:37 +08:00
Yidadaa
f250594e97
Merge branch 'main' into bugfix-0503
2023-05-03 15:56:02 +08:00
Yidadaa
c1b6828ed4
fix : #1201 wont close prompt list when blur
2023-05-03 15:55:46 +08:00
Yidadaa
328ecd1cfb
fix : #1210 change default lang to en
2023-05-03 15:22:44 +08:00
Clarence Dan
aeda7520fe
fix: Resolve markdown link issue
...
Resolved Markdown Issue
This pull request also resolves an issue where internal links were not redirecting properly in markdown, and optimizes the behavior for external links to open in a new window.
2023-05-02 11:18:18 +08:00
Yidadaa
717c123b82
feat: improve mask ui
2023-05-02 03:10:13 +08:00
Yidadaa
132f6c8420
feat: improve mask ui
2023-05-02 03:01:42 +08:00
Yidadaa
116e16e30d
fixup
2023-05-02 02:52:25 +08:00
Yidadaa
ae8050a3f7
fixup
2023-05-02 02:45:15 +08:00
Yidadaa
f5a5cffdec
fixup
2023-05-02 02:38:30 +08:00
Yidadaa
220c622f8f
fixup
2023-05-02 02:37:15 +08:00
Yidadaa
e509749421
perf: improve prompt list performance
2023-05-02 02:26:43 +08:00
Yidadaa
a69cec89fb
perf: close #909 reduce message items render time
2023-05-02 00:31:44 +08:00
Yidadaa
8f5c289818
fix : #751 do not cache request
2023-05-01 23:48:23 +08:00
Yidadaa
1aaf4ae5bc
fix : #1126 can not select prompt
2023-05-01 23:39:54 +08:00
Yidadaa
9f3188fe45
fix : #1124 mask model config does not works
2023-05-01 23:37:02 +08:00
Yidadaa
b2fc7d476a
fix : #1147 edit mask after creating a new mask
2023-05-01 23:23:39 +08:00
Yidadaa
c37885e743
fix : #1130 #1131 delete right session
2023-05-01 23:21:28 +08:00
Yidadaa
0209ace221
fix : #1154 wrong date range when query usage
2023-05-01 22:53:33 +08:00
Zhenyu Zhu
ba0753c418
fix: mask download not working
2023-04-28 19:25:03 +08:00
Yidadaa
6419ce345f
fix: hot fix for data migration
2023-04-28 01:54:57 +08:00
Yidadaa
ace3f7f532
Merge branch 'main' into session-config
2023-04-28 00:35:04 +08:00
Yidadaa
fb32770486
feat: i18n refactor and style adjustment
2023-04-28 00:34:37 +08:00
Yidadaa
6c1144f6f4
fixup
2023-04-27 02:14:38 +08:00
Yidadaa
59edcc3e2e
feat: add side bar mask entry
2023-04-27 02:12:09 +08:00
Yidadaa
30040a0366
feat: migrate state from v1 to v2
2023-04-27 02:00:22 +08:00
Yifei Zhang
a604644da7
Merge pull request #1102 from BaiMeow/main
...
fix: use innerHTML may leads unexpected script execution
2023-04-27 01:21:36 +08:00
Yidadaa
401c1364be
fix: merge conflict
2023-04-27 01:18:09 +08:00
Yidadaa
c7c58ef031
feat: add i18n for mask
2023-04-27 01:16:21 +08:00
Shi Liang
0f9fe92fa3
修复在聊天很短没有覆盖整个区域时显示回到底部按钮的bug
2023-04-26 21:42:43 +08:00
柏喵Sakura
bbf3d044cb
Merge branch 'Yidadaa:main' into main
2023-04-26 21:25:21 +08:00
BaiMeow
7ed8517771
fix: innerHTML may leads to script execution
2023-04-26 21:24:14 +08:00
Yifei Zhang
2deb5cbc9e
fix : #1094 try to disable zoom on ios safari
2023-04-26 14:43:43 +08:00
Yidadaa
3cda44e05b
fixup
2023-04-26 02:05:35 +08:00
Yidadaa
a7a8aad9bc
feat: add mask crud
2023-04-26 02:02:46 +08:00
Yidadaa
ffa7302571
feat: add mask page
2023-04-25 00:49:27 +08:00
Peter Dave Hello
e5e2f6c2e1
Improve tw locale
2023-04-24 04:11:12 +08:00
Yidadaa
708c6829f7
fixup
2023-04-24 01:17:28 +08:00
Yidadaa
aeb986243c
feat: add mask screen
2023-04-24 01:15:44 +08:00
Yidadaa
e654cee3c8
fixup: request params
2023-04-23 21:54:18 +08:00
Yidadaa
b23adf9d5d
fixup
2023-04-23 01:37:47 +08:00
Yidadaa
7345639af3
feat: add session config modal
2023-04-23 01:27:15 +08:00
Yidadaa
4cdb2f0fa3
feat: session-level model config
2023-04-22 01:13:23 +08:00
雲霧
79f58f5c6a
fix: typo
2023-04-22 00:47:15 +08:00
Yifei Zhang
56d098c317
Merge pull request #980 from 0x9be00ff1/fix-presence-penalty-step
...
[Fix] adjust presence_penalty step 0.1
2023-04-22 00:43:44 +08:00
Yidadaa
a3ca8ea5c4
feat: new chat-item avatar
2023-04-22 00:35:50 +08:00
Yidadaa
ae479f4a92
fix : #963 config not work
2023-04-22 00:12:07 +08:00
Yidadaa
ab826363ea
fix : #965 improve loading animation
2023-04-21 23:37:25 +08:00
Yidadaa
e1ce1f2f40
feat: close #976 esc to close modal
2023-04-21 23:28:53 +08:00
Yidadaa
209a727fe9
feat: close #928 summarize with gpt3.5
2023-04-21 23:22:02 +08:00
Zhenyu Zhu
4d45c07bf2
fix: adjust presence_penalty step 0.1
2023-04-21 18:52:32 +08:00
Shi Liang
ffb0fa25f1
Merge pull request #1 from shih-liang/patch-1
...
chat-stream: runtime = "experimental-edge";
2023-04-21 13:08:01 +08:00
Shi Liang
8966fd3b23
openai runtime = "experimental-edge";
2023-04-21 13:03:38 +08:00
Shi Liang
b6a7104b60
chat-stream: runtime = "experimental-edge";
2023-04-21 13:03:02 +08:00
Yidadaa
82ad0573be
feat: close #380 collapse side bar
2023-04-21 02:52:53 +08:00
pBrambi
6a74d62e98
Czech
2023-04-20 19:26:31 +02:00
Yidadaa
5185166e3b
fixup
2023-04-21 01:18:49 +08:00
Yidadaa
693dcf12d6
refactor: close #643 use react router
2023-04-21 01:12:39 +08:00
Yidadaa
55281ed548
feat: reactive isMobileScreen
2023-04-20 23:20:25 +08:00
Yidadaa
2390da1165
fix : #930 wont show delete for first message
2023-04-20 23:09:42 +08:00
Yidadaa
06d503152b
feat: close #928 summarize with gpt-3.5
2023-04-20 23:04:58 +08:00
Yidadaa
2e9e69d66c
fixup
2023-04-20 22:58:19 +08:00
Yidadaa
7e8973c9ff
feat: close #291 gpt-4 model uses black icon
2023-04-20 22:52:14 +08:00
pBrambi
35ccfb14c2
Create cs.ts
...
Czech language translation
2023-04-20 01:02:43 +02:00
Yin Min
21da781350
Update common.ts
...
Add OrgID
2023-04-19 19:28:33 +08:00
Yifei Zhang
072a35b4ee
fix : #915 allow send 0 history messages
2023-04-19 11:20:07 +08:00
Yifei Zhang
e68f17b463
Merge pull request #902 from ClarenceYk/for_test
...
Update app/components/chat.tsx
2023-04-18 19:10:30 +08:00
Ma Yuke
dfcae92ae0
Update app/components/chat.tsx
...
fix: chat-body flickers when click-and-hold the scroll bar using mouse
2023-04-18 18:01:09 +08:00
aooyoo
d1653ded9a
fix user prompt translation
2023-04-18 08:13:32 +00:00
Yifei Zhang
8da581695f
Merge pull request #893 from L1468999760/add_alpha
...
fix:delete user.svg
2023-04-18 11:55:28 +08:00
Yifei Zhang
9e46ca31dd
Merge pull request #892 from Yidadaa/improve-memory
...
feat: close #864 improve long term history
2023-04-18 11:54:24 +08:00
Yidadaa
ad1c8ffe21
fixup
2023-04-18 11:44:15 +08:00
Yifei Zhang
d75b7d49b8
feat: close #864 improve long term history
2023-04-18 11:42:08 +08:00
jtung4
53173d9053
Optimize topic and summary prompts in tw.ts
2023-04-18 11:38:26 +08:00
L1468999760
e68207be2c
fix:delete user.svg
2023-04-18 11:34:33 +08:00
Yidadaa
789a779775
feat: user prompts
2023-04-18 01:34:12 +08:00
Yidadaa
fdc8278b90
feat: check usage throttle
2023-04-17 23:12:27 +08:00
Yidadaa
525a2ff9a7
fix : #866 remove unused retry messages
2023-04-17 22:51:14 +08:00
Ma Yuke
64e78329ec
Update app/requests.ts
...
fix: displaying the number of subscription beyond two decimal places.
2023-04-17 11:53:09 +08:00
Yifei Zhang
b79845fcaa
fixup
2023-04-17 11:36:32 +08:00
Yifei Zhang
76ef5ef9a9
fixup
2023-04-17 11:34:33 +08:00
Yifei Zhang
cc053b148d
fix : #853 fetch duplex errors
2023-04-17 11:27:31 +08:00
Yidadaa
12d4081311
feat: close #539 add delete message button
2023-04-16 18:55:29 +08:00
Yidadaa
ea3e8a7459
fix : #829 filter empty prompt
2023-04-16 18:11:09 +08:00
Yidadaa
dc3883ed1a
feat: close #118 add stop all button
2023-04-16 18:07:43 +08:00
tscherrie tscherru
f9906aba7f
found typo
2023-04-16 07:43:38 +00:00
tscherrie tscherru
410695d823
some final language quality improvements
2023-04-16 07:11:36 +00:00
tscherrie tscherru
2c35c26749
fixed typo
2023-04-16 05:32:55 +00:00
tscherrie tscherru
f042d07ee7
added de to index and other files
2023-04-16 05:07:54 +00:00
tscherrie tscherru
4ce5f89c66
fixed german language translations
2023-04-16 04:16:04 +00:00
tscherrie tscherru
e0fa0d1936
Add german language translation de.tss
2023-04-16 04:00:31 +00:00
ilarioscandurra
98fd08d9e5
fix IT translation
2023-04-15 16:33:04 +02:00
Yidadaa
0a79df3670
refactor: remove protocol env vars
2023-04-15 02:50:04 +08:00
Yidadaa
47a2911ee2
feat: edit session title button
2023-04-15 02:37:24 +08:00
Yidadaa
fb14785cad
fix : #804 disable auto scroll in textarea
2023-04-15 02:28:30 +08:00
jtung4
73216513dd
Update tw.ts
2023-04-14 19:49:48 +08:00
Peanuts
7fc43b4745
Fix wrong spelling
2023-04-13 11:07:42 +08:00
Yifei Zhang
f6f07abf1d
Update markdown.tsx
2023-04-13 02:16:21 +08:00
Yidadaa
8363cdd9fa
feat: close #680 lazy rendering markdown
2023-04-13 02:07:24 +08:00
Yidadaa
d790b0b372
feat: close #680 lazy load markdown dom
2023-04-12 23:27:28 +08:00
Yidadaa
9146b98285
fix: *.scss *.svg types
2023-04-12 23:04:45 +08:00
Yifei Zhang
c1bb53c4e3
Revert "fix: autoscroll conflict"
2023-04-12 19:48:12 +08:00
Yifei Zhang
a15bd3ce33
Merge pull request #715 from betgo/bugfix-scrollthumb
...
fix: autoscroll conflict
2023-04-12 11:05:53 +08:00
helloworld_xy
d8ef4a1031
fix:修复正常响应结果后额外追加‘出错了,请稍后再试’bug
2023-04-11 19:03:09 +08:00
Yifei Zhang
5a56bc3465
Merge pull request #688 from aooyoo/main
...
add Japanese
2023-04-11 15:37:23 +08:00
betgo
4269775665
fix: autoscroll conflict
2023-04-11 14:27:34 +08:00
peanut996
a1c709bb58
[refactor] rename ChatResponse.
2023-04-11 12:06:12 +08:00
Yidadaa
6841846613
fixup
2023-04-11 02:56:48 +08:00
Yidadaa
d6e6dd09f0
feat: dynamic config
2023-04-11 02:54:31 +08:00
Yidadaa
9b61cb1335
refactor: build/runtime/client configs
2023-04-11 01:21:34 +08:00
Yidadaa
7aee53ea05
fix : #507 break cjk chars in stream mode
2023-04-10 23:13:20 +08:00
aooyoo
042e989ebb
fix spelling errors
2023-04-10 14:12:31 +00:00
aooyoo
7670b8b738
add new language, Japanese
2023-04-10 14:01:54 +00:00
Muhammet Demirel
d7edcadec7
Added new language, Turkish.
2023-04-10 12:04:30 +03:00
Yifei Zhang
150735b001
Update access.ts
2023-04-10 10:57:16 +08:00
Yidadaa
3c1e81897a
fixup: wont show fullscreen icon on mobile
2023-04-10 01:13:33 +08:00
Yidadaa
09fd743e2e
feat: wider app body
2023-04-10 00:56:44 +08:00
Yidadaa
6ae61c5357
fix : #522 resizable side bar
2023-04-10 00:54:17 +08:00
Yidadaa
eae5a8a2e6
feat: #577 maximum / minimium icon
2023-04-10 00:00:36 +08:00
Yidadaa
0e05733bbb
fix : #589 improve unauthorized tips
2023-04-09 23:51:12 +08:00
Yidadaa
4a492264a1
fix : #641 delete wrong chat list
2023-04-09 23:41:16 +08:00
Yidadaa
174c745279
fix : #648 password input style
2023-04-09 23:35:45 +08:00
Yifei Zhang
72aa2bcad8
Update cn.ts
2023-04-09 13:31:33 +08:00
GH Action - Upstream Sync
037d4638ea
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2023-04-08 07:07:44 +00:00
MaYuKe
7d2e850c42
Update ui-lib.module.scss
...
Fix: icon-button can not be completely masked by popover.
2023-04-08 12:19:14 +08:00
GH Action - Upstream Sync
70b6507299
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2023-04-07 21:07:51 +00:00
Yidadaa
45c8de42b9
fix : #528 wont send max_tokens
2023-04-08 03:03:07 +08:00
Yidadaa
637cda5b4c
fix : #613 show all prompts when input /
2023-04-08 02:53:35 +08:00
ilarioscandurra
d935de3e57
Update: Confirmation on reset chats and settings
2023-04-07 20:50:06 +02:00
Yidadaa
13035ecb0d
fix: auto grow textarea
2023-04-08 02:36:02 +08:00
Yifei Zhang
d6b2cf8bcb
Merge pull request #318 from leedom92/textarea-height-optimize
...
feat: textarea with adaptive height
2023-04-08 01:01:52 +08:00
Yorun
71d9fbc367
fix: hide toast on cancel session deletion on mobile
2023-04-07 14:51:08 +08:00
leedom
00d45e7cc4
fix: solve navigator undefined && merge from main
2023-04-07 13:47:34 +08:00
leedom
406ed8a02a
Merge branch 'main' into textarea-height-optimize
2023-04-07 13:33:37 +08:00
leedom
de740ec57f
feat: add calcTextareaHeight.ts
2023-04-07 12:42:47 +08:00
leedom
e5b4cb28fe
fix: useEffect hooks
2023-04-07 12:39:27 +08:00
leedom
cb210d82e1
update: resizeTextarea
2023-04-07 12:33:09 +08:00
Mokou
58b956f7cc
feat: Hot keys: Escape to close settings, Up Arrow to get last input
2023-04-07 12:26:22 +08:00
leedom
620b98fe6a
Merge branch 'main' into textarea-height-optimize
2023-04-07 12:20:53 +08:00
leedom
3656c8458f
feat: textarea with adaptive height
2023-04-07 12:17:37 +08:00
Yifei Zhang
6420f61566
fix : #537 delete chat button style
2023-04-07 11:23:10 +08:00
Yifei Zhang
905bf41cd8
Update utils.ts
2023-04-07 11:08:20 +08:00
leedom
a8a8becf96
merge
2023-04-07 07:29:17 +08:00
leedom
b8a605f07d
merge
2023-04-07 07:18:53 +08:00
Yidadaa
5952064362
feat: #499 revert delete session
2023-04-07 00:14:27 +08:00
Yidadaa
806587c8ea
fix : #512 Mobile renaming should not return to chat list
2023-04-06 23:47:47 +08:00
Yidadaa
f3dbe5a251
fix : #513 show toast after copying
2023-04-06 23:18:51 +08:00
Yifei Zhang
74cff2639b
Merge pull request #567 from leedom92/optimize-send-button
...
refactor: optimize component `IconButton`
2023-04-06 23:10:09 +08:00
leedom
cd671066f7
remove unnecessary judgment
2023-04-06 22:52:18 +08:00
Leedom
fb3f5a414a
Update button.module.scss
2023-04-06 21:34:00 +08:00
leedom
b7cdea1b82
refactor: optimize send button
2023-04-06 21:02:48 +08:00
xiaotianxt
dd20c36a55
fix: distinguish PC/Mobile behavior on auto-scroll
...
The chat list should be set to auto-scroll on mobile screen when the
input textarea is focused. It should not behave like that on PC screen
because user may want to refer to previous content.
2023-04-06 20:38:21 +08:00
Yifei Zhang
85bf4ac077
fix : #559 custom input ui style
2023-04-06 18:16:49 +08:00
Yifei Zhang
29bc9a45df
Merge pull request #535 from zhongmeizhi/main
...
fix: 兼容不同浏览器的input range
2023-04-06 17:47:05 +08:00
Yifei Zhang
f7e42179d0
fixup
2023-04-06 17:34:17 +08:00
Yifei Zhang
6823839f4b
fixup
2023-04-06 17:28:09 +08:00
Yifei Zhang
a68721fcf2
Update requests.ts
2023-04-06 17:14:19 +08:00
Mokou
d92108453f
fix: 兼容不同浏览器的input range兼容
2023-04-06 12:39:31 +08:00
Yifei Zhang
f71354faed
Merge pull request #509 from xiaotianxt/feat/dnd-xiaotianxt
...
Drag & Drop support for ChatList
2023-04-06 04:12:00 +08:00
Yifei Zhang
b1e26a5063
Merge pull request #510 from Yidadaa/user-prompt
...
feat: split docs, clear messages and fix stop response
2023-04-06 04:02:48 +08:00
Yidadaa
c77f946be1
fixup
2023-04-06 04:01:53 +08:00
Yidadaa
acfe6eec18
fix : #463 add subscrption total amount
2023-04-06 03:56:54 +08:00
Yidadaa
dce2546f5f
fix : #451 override default model config
2023-04-06 03:26:42 +08:00
Yidadaa
8e560d2b2e
fix : #410 can not stop response
2023-04-06 03:19:33 +08:00
xiaotianxt
f920b2001d
performance: introduce lazy-loading for ChatList
...
Reduce the first load JS bundle size using next/dynamic.
2023-04-06 02:41:27 +08:00
Yidadaa
c2b37f811b
feat: close #469 support reset session and do not send memory
2023-04-06 02:37:12 +08:00
Yidadaa
0e77177a60
fix : #439 context prompt input with textarea
2023-04-06 02:05:44 +08:00
Yifei Zhang
9aaceda40d
Merge pull request #482 from zyqq/main
...
fix(utils): 修复复制问题
2023-04-06 01:48:20 +08:00
xiaotianxt
301cbbfdfb
feat(dnd): add drag and drop feature
2023-04-06 01:43:10 +08:00
Yidadaa
7da0cc6551
doc: update screenshots
2023-04-06 01:22:29 +08:00
Yidadaa
de78fd07c5
doc: update document
2023-04-06 00:41:44 +08:00
Yifei Zhang
2ae62d9c0e
Merge pull request #497 from waltcow/main
...
fix 头像无法正常显示
2023-04-05 22:07:17 +08:00
Yorun
909e2ab60f
fix: header title overflow
2023-04-05 11:32:45 +00:00
waltcow
f4fc682fa3
add `getEmojiUrl` as util function
2023-04-05 15:48:44 +08:00
waltcow
80904ac2bb
fix import
2023-04-05 15:31:46 +08:00
waltcow
91322f33eb
emoji resouce CDN format override
2023-04-05 15:29:25 +08:00
Jun Wu
962f434e17
perf: memorize markdown rendering
...
Markdown rendering can take time. Use `React.memo` for better performance.
The improvement is especially visible if there are complex elements. For
example, a `<Chat />` with an output of `如何推导三次方程求根方程?` (which
uses latex) now renders in about 5ms, down from ~140ms.
Related: #302
2023-04-05 00:16:10 -07:00
Jun Wu
2625c1246b
chore: removed redundant checkUsage
...
`checkUsage()` was already called by another `useEffect`.
There is no need to call it twice.
2023-04-04 22:41:33 -07:00
yiqiuzheng
0af55366f1
fix(utils): 修复复制问题
2023-04-05 02:49:44 +08:00
Yifei Zhang
bd7567fa85
Merge pull request #434 from gaogao1030/optimize
...
[opt] Optimize the display of exported chat history content.
2023-04-05 02:08:38 +08:00
MaYuKe
8ba1dedcea
Update settings.tsx
...
Update parameter `step` of historyMessageCount to 1.
2023-04-04 23:32:19 +08:00
kakawanyifan
0508b0080f
linkTarget={'_blank'},这个对于对话框中的链接,会在新的tab页打开,体验更好。
2023-04-04 16:33:36 +08:00
kakawanyifan
47f055872e
访问改成授权
2023-04-04 13:27:50 +08:00
Yifei Zhang
15429cd67f
Merge pull request #435 from yorunning/fix-1
...
fix: add media query to theme-color, fix auto theme not updating theme-color
2023-04-04 11:16:34 +08:00
ガオガオ
be4144fab3
[opt] Optimize the display of exported chat history content.
2023-04-04 05:55:06 +08:00
yidadaa
4e644cfca7
fix : #418 valid model config
2023-04-04 01:05:33 +08:00
Yorun
30ff915e9d
fix: add media query to theme-color, fix auto theme not updating theme-color
2023-04-03 16:24:59 +00:00
Feifan Zheng
bb30fdfa17
feat: optimize usage display
2023-04-03 12:18:04 +00:00
RugerMc
c2a79e8a11
opt: back to auto scroll
2023-04-03 17:51:35 +08:00
cyhhao
ae8ceb8dca
rm input mouseover
2023-04-03 15:21:03 +08:00
cyhhao
8db26bbd5f
rm msg body mouseover
2023-04-03 15:20:16 +08:00
cyhhao
efd3310711
fix conflict
2023-04-03 14:58:34 +08:00
cyhhao
a6890c0f58
optimize: scrolling experience
2023-04-03 14:56:13 +08:00
Yifei Zhang
b5a69b66b2
Merge pull request #401 from cyhhao/pr2
...
fix: context message should exclude all error tips
2023-04-03 14:26:32 +08:00
cyhhao
73f4ea38c6
session message should exclude all error tips
2023-04-03 14:13:57 +08:00
Yifei Zhang
fb127f7857
Merge pull request #377 from ilario92/main
...
Update: locales in Italian
2023-04-03 13:44:40 +08:00
Yidadaa
5c75b6c784
fix : #397 #373 Array.prototype.at polyfill errors
2023-04-03 13:29:37 +08:00
Yifei Zhang
56ba8a65e0
fix: improve scroll
2023-04-03 03:35:24 +00:00
Yifei Zhang
0e784c50ad
fix : #384 improve scroll
2023-04-03 03:27:42 +00:00
Yifei Zhang
73865651a0
fix : #366 use fallback copy
2023-04-03 03:27:42 +00:00
Yifei Zhang
0d3bd42780
Update app.ts
2023-04-03 10:50:29 +08:00
Yifei Zhang
e2c1475857
revert: fix mobile scroll
2023-04-02 19:24:29 +00:00
Yifei Zhang
8d34b0f454
chore: fix mobile scroll
2023-04-02 19:20:57 +00:00
Yifei Zhang
b44caeeefb
fix : #289 #367 #353 #369 provide more error message info
2023-04-02 19:14:53 +00:00
Ilario Scandurra
502d22bd20
Merge branch 'Yidadaa:main' into main
2023-04-02 21:14:04 +02:00
Yifei Zhang
8d60a414f0
chore: fix usage display
2023-04-02 18:55:08 +00:00
Yifei Zhang
e8d71c815e
chore: fix preview bubble
2023-04-02 18:51:37 +00:00
Yifei Zhang
1afca0b28a
fix: mobile scroll problem
2023-04-02 18:41:25 +00:00
ilarioscandurra
f9f29afba9
Update: locales in Italian
2023-04-02 20:32:43 +02:00
Yifei Zhang
2647bdb4ed
fixup: ux improve
2023-04-02 18:28:07 +00:00
Ilario Scandurra
c98517fc48
Merge branch 'main' into main
2023-04-02 20:13:58 +02:00
Yifei Zhang
e8dd391ccf
Merge pull request #378 from Yidadaa/prompt-edit
...
feat: add context prompt edit
2023-04-03 02:03:54 +08:00
Yifei Zhang
e3c3cd3d18
fixup: translation context
2023-04-02 18:02:03 +00:00
Yifei Zhang
b85245e317
feat: #138 add context prompt, close #330 #321
2023-04-02 17:48:43 +00:00
ilarioscandurra
f606a61e1c
Update: locales in Italian
2023-04-02 19:23:50 +02:00
Call White
a10f4d8abc
translate SendPreviewBubble
2023-04-03 01:07:06 +08:00
Yifei Zhang
c978de2c10
fix : #253 #356 auto scroll ux
2023-04-02 15:19:36 +00:00
Yifei Zhang
6c1862797b
refactor: split homt.tsx components
2023-04-02 15:05:54 +00:00
Yifei Zhang
4f0108b0ea
fix : #289 use highlight.js instead of prism
2023-04-02 14:48:18 +00:00
Yifei Zhang
7b5af271d5
fix : #367 failed to fetch account usage
2023-04-02 14:22:06 +00:00
Yifei Zhang
37587f6f71
fix : #244 optimize polyfill
2023-04-02 13:56:34 +00:00
Cesaryuan
a356ee857c
Merge branch 'main' into patch-1
2023-04-02 21:39:03 +08:00
MapleUncle
a90e646381
🐞 fix(locales): Fix the missing SendPreviewBubble in ES configuration
2023-04-02 20:38:14 +08:00
Cesaryuan
12f342f015
fix: historyMessageCount
2023-04-02 20:23:56 +08:00
Yifei Zhang
e248e9196a
Merge pull request #271 from RugerMcCarthy/feat/send_preview_option
...
feat: add switch of send preview bubble
2023-04-02 20:08:35 +08:00
Cesaryuan
fea4f561b4
fix: fix history message count
...
Bug: The length of `new Array(20).slice(20 - 24) ` is 4 which should be 24.
2023-04-02 19:43:11 +08:00
AprilNEA
0a60a87c9f
Merge branch 'main' into reset
...
# Conflicts:
# app/components/settings.tsx
2023-04-02 13:45:34 +08:00
AprilNEA
506cdbc83c
feat: clear session only
2023-04-02 13:42:47 +08:00
Yifei Zhang
a64c4384b1
Merge pull request #322 from quark-zju/wexin-compat
...
fix: 微信 Android 内置浏览器兼容性
2023-04-02 13:17:56 +08:00
Leedom
4369b26e22
Update calcTextareaHeight.js
2023-04-02 09:47:55 +08:00
Leedom
b419e7d918
Update home.tsx
2023-04-02 02:56:45 +08:00
Leedom
ad8e09d188
Update home.tsx
2023-04-02 02:54:46 +08:00
leedom
bce020fc8e
feat: add calcTextareaHeight.js from element-ui
2023-04-02 02:42:00 +08:00
leedom
a811637176
refactor: use the method of element-ui
2023-04-02 02:40:00 +08:00
Jun Wu
cd5f8f7407
app: polyfill Array.at
...
This fixes compatibility issue with older browsers like WeChat webview.
The summary feature now works as expected.
2023-04-01 11:38:52 -07:00
linqirong
00a282214e
fix:修复中文输入法下enter错误发送消息问题
2023-04-02 00:12:31 +08:00
Jun Wu
327ac765df
utils: simplify trimTopic
...
Also avoid using Array.prototype.at, which does not seem to exist
in the Wexin builtin webview (Android Wexin 8.0.30).
2023-04-01 03:37:28 -07:00
Jun Wu
83cea2adb8
api: set Content-Type to json
...
This avoids issues in browsers like WeChat where the encoding is
incorrect and the summary feature does not work if it contains
zh-CN characters.
2023-04-01 03:37:09 -07:00
Leedom
9ba59351c5
Update home.tsx
2023-04-01 17:48:05 +08:00
leedom
2a79d35667
feat: add optimize textarea height when inputing
2023-04-01 17:34:38 +08:00
Yifei Zhang
0385f6ede9
fix : #305 disable double click to copy on pc
2023-04-01 15:46:34 +08:00
Yifei Zhang
45bf2c3d25
fix: remove scroll anchor height
2023-04-01 15:39:30 +08:00
leedom
4dc1e025e1
feat: add confirm tips when deleting conversation on pc
2023-04-01 10:24:06 +08:00
Dogtiti
536358cb3c
Merge branch 'Yidadaa:main' into main
2023-03-31 19:21:46 +08:00
Dogtiti
5f7a264e52
fix: 修复在手机浏览器高度样式问题
2023-03-31 19:21:11 +08:00
Yifei Zhang
e5aa72af76
fix : #277 no cache for credit query
2023-03-31 18:33:26 +08:00
RugerMc
1db210097c
feat: add switch of send preview bubble
2023-03-31 13:16:12 +08:00
Daniel Gerardo Rondón García
7f16698f01
Update: language options to "Language".
...
- Update Name option in language files to display 'Language' consistently
- Fix locale issues in 'tw' and 'cn' files that were mistakenly changed
2023-03-30 23:32:56 -05:00
Daniel Gerardo Rondón García
df75b9973a
Update: locales in spanish
2023-03-30 19:48:57 -05:00
Yifei Zhang
2f2e0b6762
fix: commit id as version id
2023-03-30 18:15:49 +00:00
Yifei Zhang
fe9dd88c3f
Merge pull request #254 from Yidadaa/bugfix-0330
...
Bugfix 0330
2023-03-31 01:10:36 +08:00
Yifei Zhang
b3fdf3efec
fix : #182 prompt cannot be selected
2023-03-30 17:08:50 +00:00
Yifei Zhang
802ea20ec4
fix: auto scroll on enter
2023-03-30 17:04:32 +00:00
Yifei Zhang
52a217883d
Merge pull request #234 from GOWxx/feat_set_history_to_zero
...
feat: support history message count to zero
2023-03-31 00:56:57 +08:00
Yifei Zhang
7783545bff
feat: use tag as version number
2023-03-30 16:46:17 +00:00
Yifei Zhang
1b140a1ed3
fix: tight border on mobile style
2023-03-30 16:20:47 +00:00
Yifei Zhang
bf50ebac94
fix : #229 disable light code theme
2023-03-30 15:50:08 +00:00
Yifei Zhang
7599ae385b
fix : #244 better scroll ux
2023-03-30 15:42:54 +00:00
Yifei Zhang
7827b40f17
fix : #185 input and select align center
2023-03-30 15:25:38 +00:00
Yifei Zhang
dea3d26335
fix: crash caused by filter config
2023-03-30 15:20:19 +00:00
GOWxx
0c9add7988
feat: support history message count to zero
2023-03-30 18:50:58 +08:00
Leotrinos
7d7abca2c4
fix trimTopic
2023-03-30 02:55:19 -07:00
Leedom
6e4e804af8
Update home.tsx
2023-03-30 15:32:03 +08:00
leedom
e68aaf24f1
feat: setUserInput with onDoubleClickCapture in mobile phone
2023-03-30 15:22:10 +08:00
Yifei Zhang
29c20a3d5c
Merge pull request #202 from RugerMcCarthy/feat/display_line_break
...
feat: import remark-breaks plugin
2023-03-30 14:56:21 +08:00
RugerMc
2c5420ab9e
feat: import ramarkBreaks plugin
2023-03-30 12:48:38 +08:00
angular-moon
d9fc9cd198
onUserSubmit hide promptHints
2023-03-30 10:16:00 +08:00
Yifei Zhang
8b4db412d8
Update home.tsx
2023-03-30 02:30:38 +08:00
Yifei Zhang
447dec9444
feat: close #2 add check account balance
2023-03-29 17:45:26 +00:00
Yifei Zhang
45088a3e06
feat: #112 add edit chat title
2023-03-29 16:02:50 +00:00
Yifei Zhang
08f3c7026d
feat: #170 auto scroll after retrying
2023-03-29 15:40:37 +00:00
Yifei Zhang
e606810581
refactor: #121 trigger auto-cmp with / prefix
2023-03-29 15:31:55 +00:00
Yifei Zhang
73b2ede53a
Merge pull request #162 from HimiCos/main
...
fix: dialog height
2023-03-29 22:12:05 +08:00
Yifei Zhang
f1b2f895b4
Merge pull request #163 from GOWxx/bugfix_send_button_cover_text
...
fix: send button covering the text in the textarea
2023-03-29 22:11:34 +08:00
HimiCos
752c083905
fix: dialog height
2023-03-29 20:53:23 +08:00
GOWxx
c47e90004a
fix: send button covering the text in the textarea
2023-03-29 20:37:21 +08:00
Yifei Zhang
380f818285
fix : #159 temperature should range 0 - 2
2023-03-29 20:00:23 +08:00
HimiCos
cac604aee3
chore: standardize input box punctuation
2023-03-29 19:31:34 +08:00
Yifei Zhang
525b5b8ee6
Merge pull request #148 from RugerMcCarthy/dev
...
supports the display of line breaks in Markdown
2023-03-29 18:05:52 +08:00
RugerMc
974c455bf9
feat: display line break hints in enter mode
2023-03-29 17:53:52 +08:00
RugerMc
b94607f636
feat: supports the display of line breaks in Markdown
2023-03-29 17:19:30 +08:00
Yifei Zhang
ca0082856a
Update settings.tsx
2023-03-29 16:06:22 +08:00
Yifei Zhang
e12238ba8b
Merge pull request #146 from iSource/fix-mobile-autofocus
...
fix: mobile textarea autofocus ui error
2023-03-29 16:00:21 +08:00
iSource
71f119c9e8
fix: mobile textarea autofocus ui error
2023-03-29 15:45:31 +08:00
Yifei Zhang
067121d968
Merge pull request #89 from iFwu/main
...
feat: add font size config
2023-03-29 14:49:05 +08:00
Yifei Zhang
f5d775c055
Merge pull request #127 from stonega/main
...
fix: message top action style issue
2023-03-29 14:48:20 +08:00
伏晓
f979822508
feat: add font size setting
2023-03-29 13:15:32 +08:00
HimiCos
dee7950601
Update app/locales/tw.ts
2023-03-29 12:27:32 +08:00
Yifei Zhang
17ee2ee135
Update home.tsx
2023-03-29 02:19:20 +08:00
Yifei Zhang
e648a59b1f
feat: add lint-staged
2023-03-28 18:09:05 +00:00
Yifei Zhang
83400093a2
fixup: i18n for prompts
2023-03-28 17:45:23 +00:00
Yifei Zhang
6782e65fdf
feat: #2 add prompt hints
2023-03-28 17:45:23 +00:00
Yifei Zhang
7d5e742ea6
feat: #2 add prompt list
2023-03-28 17:45:23 +00:00
Yifei Zhang
cde3cbed21
Merge pull request #109 from HimiCos/main
...
feat: language support traditional chinese
2023-03-28 23:00:16 +08:00
HimiCos
307be405ac
feat: language support traditional chinese
2023-03-28 21:29:30 +08:00
石门
1c017b8ee9
fix: minor fix
2023-03-28 20:14:44 +08:00
石门
48dc2c2295
fix: minor fix
2023-03-28 19:38:18 +08:00
石门
3a3999d73a
fix: hide actions when loading
2023-03-28 18:59:03 +08:00
Yifei Zhang
7f3cbaa064
Merge pull request #100 from iSource/fix-docker-access-code
...
fix: docker access code setting missing
2023-03-28 18:52:46 +08:00
石门
7a5c35baf3
fix: hide actions when loading
2023-03-28 18:48:03 +08:00
iSource
eb72c83b7e
fix: docker access code setting missing
2023-03-28 17:55:03 +08:00
Yifei Zhang
adc0db4c74
Merge pull request #76 from xiaotianxt/main
...
feat: CmdEnter config for submitkey, bug fix for auto scrolling
2023-03-28 13:35:36 +08:00
Yifei Zhang
6155a190ac
fix: light theme code highlight
2023-03-28 05:24:51 +00:00
xiaotianxt
493aa8c591
refactor: refocus textarea after btn clicked
2023-03-28 13:02:49 +08:00
xiaotianxt
6c82f804ae
fix: Enter key bug
2023-03-28 12:56:36 +08:00
xiaotianxt
a2807c9815
fix(scroll): scroll after click submit button
...
The behavior of SubmitKey and SubmitButton should be the same
2023-03-28 12:56:36 +08:00
xiaotianxt
d822f333c2
feat(SubmitKey): add MetaEnter option
...
Add another option for MacOS user who prefer Cmd+Enter
or Linux user who prefer Meta+Enter.
2023-03-28 12:56:36 +08:00
Yifei Zhang
8f498075b9
Merge pull request #81 from iSource/fix-code-copy-button
...
fix: code copy button position
2023-03-28 11:57:03 +08:00
AprilNEA
684a3c41ef
fix: fix #82 , close sidebar after new session
2023-03-28 11:51:36 +08:00
iSource
55f37248f7
fix: code copy button position
2023-03-28 10:50:50 +08:00
Yifei Zhang
60f27fdfbb
Merge pull request #68 from AprilNEA/main
...
fix(#65 ): fix unknown git commit id
2023-03-27 22:01:19 +08:00
Yifei Zhang
d17706636b
Merge pull request #66 from iFwu/main
...
fix: resolve hydration error
2023-03-27 21:59:19 +08:00
Yifei Zhang
9570691d5b
Delete userRole.tsx
2023-03-27 21:52:50 +08:00
AprilNEA
efe4fcc188
Merge branch 'Yidadaa:main' into main
2023-03-27 18:31:47 +08:00
AprilNEA
efaf6590ef
fix( #65 ): fix unknown git commit id
2023-03-27 18:31:04 +08:00
伏晓
fb06fb8c38
fix: resolve hydration error
2023-03-27 18:22:55 +08:00
Yifei Zhang
f188841188
Merge pull request #67 from iSource/pwa-support
...
feat: add PWA support
2023-03-27 18:19:49 +08:00
jianjian.ma
5593c067c4
feat: add PWA support
2023-03-27 18:02:35 +08:00
jianjian.ma
689b7bab26
feat: add PWA support
2023-03-27 17:53:32 +08:00
jianjian.ma
bdf17fafff
feat: add PWA support
2023-03-27 17:41:44 +08:00
AprilNEA
58baa23199
Merge branch 'fix-theme' of https://github.com/AprilNEA/ChatGPT-Next-Web into fix-theme
2023-03-27 17:05:15 +08:00
AprilNEA
dd80c4563d
feat: adding iOS Webapp support
...
- fix media query about background-color
- Use colors from CSS files instead of fixed values
2023-03-27 17:04:11 +08:00
AprilNEA
785372ad73
fix: fix the different colors on mobile
2023-03-27 15:47:46 +08:00
AprilNEA
d8e4808316
Merge branch 'Yidadaa:main' into fix-theme
2023-03-27 15:10:10 +08:00
AprilNEA
6446692db0
feat: support safari appleWebApp
2023-03-27 15:02:12 +08:00
AprilNEA
cd73c3a7cb
fix: taskbar color follow( #54 )
2023-03-27 15:01:35 +08:00
Yifei Zhang
fb2d281aac
fix : #7 disable light code theme
2023-03-27 03:02:25 +00:00
Yifei Zhang
f858407f9a
fixup
2023-03-26 12:35:15 +00:00
Yifei Zhang
b57663bf02
feat: now support gpt-4 model
2023-03-26 12:32:22 +00:00
Yifei Zhang
e57bd51809
feat: #9 add copy code button
2023-03-26 12:29:02 +00:00
Yifei Zhang
df66eef919
feat: support using user api key
2023-03-26 11:58:25 +00:00
Yifei Zhang
1e89fe14ac
fix : #34 only auto scroll when textbox is focused
2023-03-26 11:10:34 +00:00
Yifei Zhang
86507fa569
feat: #2 #8 add stop and retry button
2023-03-26 10:59:09 +00:00
Yifei Zhang
d0d1673ccc
fixup: disable access control when CODE is empty
2023-03-26 07:06:06 +00:00
Yifei Zhang
3136d6d3fd
fix : #10 replace export icon
2023-03-26 06:57:13 +00:00
Yifei Zhang
2c899cf00e
feat: #2 add access control by
...
access code
2023-03-26 06:53:40 +00:00
Yidadaa
a5b3998304
fix : #23 errors when dev on windows
2023-03-25 22:24:52 +08:00
Yifei Zhang
806e7b09c1
feat: #2 trying to add stop response button
2023-03-23 17:42:38 +00:00
Yifei Zhang
99b88f36fd
refactor: #6 check update over one hour and debound scroll
2023-03-23 17:00:33 +00:00
Yifei Zhang
29de957395
feat: add check update
2023-03-23 16:01:00 +00:00
Yifei Zhang
e55520e93c
fix : #5 crash if code block cannot be highlighted
2023-03-23 11:28:07 +00:00
Yifei Zhang
547ef5565e
fix : #2 use shift+enter to wrap lines when submit key is enter
2023-03-23 03:38:40 +00:00
Yifei Zhang
eb531d4524
fix: code highlight styles
2023-03-23 03:17:18 +00:00
Yifei Zhang
1504c9fee6
doc: update readme
2023-03-21 17:50:02 +00:00
Yifei Zhang
76db385d6d
fix: styles and store version number
2023-03-21 17:16:36 +00:00
Yifei Zhang
2f112ecc54
feat: add model config to settings
2023-03-21 16:20:32 +00:00
Yifei Zhang
4af8c26d02
feat: use toast instead of alert
2023-03-21 14:56:27 +00:00
Yifei Zhang
2badfbd619
fix: navigation between settings and home
2023-03-20 17:00:05 +00:00
Yifei Zhang
173fe0d7e3
chore: bigger buttons on mobile device
2023-03-20 16:51:20 +00:00
Yifei Zhang
ca679e86b4
fix: try catch errors
2023-03-20 16:29:10 +00:00
Yifei Zhang
b4b11a470f
fix: build errors
2023-03-20 16:25:27 +00:00
Yifei Zhang
7cd170b933
feat: support i18n
2023-03-20 16:17:45 +00:00
Yifei Zhang
ce5abac9fb
feat: reduce first load js size from 500kb to 85kb
2023-03-20 15:11:04 +00:00
Yifei Zhang
f5aef317df
feat: support code highlight and markdown gfm
2023-03-20 06:06:29 +00:00
Yifei Zhang
12f52bf252
chore: fix memory prompt
2023-03-19 16:29:09 +00:00
Yifei Zhang
4d97c269ff
fix: chat history with memory
2023-03-19 16:09:30 +00:00
Yifei Zhang
c133cae04b
feat: support compress chat history
2023-03-19 15:13:10 +00:00
Yifei Zhang
9398b34b5c
feat: optimize loading screen
2023-03-19 14:13:00 +00:00
Yifei Zhang
caec01269a
feat: disable auto-scroll on ios device
2023-03-19 14:04:16 +00:00
Yifei Zhang
a2baad9c7f
fix: scroll ux on ios device
2023-03-16 16:08:16 +00:00
Yifei Zhang
701a6e413f
fix: compile erros
2023-03-15 17:31:00 +00:00
Yifei Zhang
e5c441d530
feat: update button hover style and scrollbar style
2023-03-15 17:28:13 +00:00
Yifei Zhang
bab470d000
feat: add export to .md button
2023-03-15 17:24:03 +00:00
Yifei Zhang
64e331a3e3
feat: improve mobile style
2023-03-15 05:50:11 +00:00
Yifei Zhang
653a740f0f
fix: styles and mobile ux
2023-03-15 03:54:14 +00:00
Yidadaa
5f7856cc31
fix: math overflow styles
2023-03-15 02:00:06 +08:00
Yidadaa
7a1bcac8bf
fix: layout styles
2023-03-15 01:56:39 +08:00
Yidadaa
1fae774bb2
feat: add mobile support
2023-03-15 01:44:42 +08:00
Yifei Zhang
76a6341c7b
fix: false window style
2023-03-14 15:22:42 +08:00
Yidadaa
e2a4b3d45c
fix: request timeout errors
2023-03-14 00:40:04 +08:00
Yidadaa
8e4fc83d3b
fix: request errors
2023-03-14 00:34:52 +08:00