Yidadaa
b7ffca031e
feat: close #935 add azure support
2023-11-10 02:43:37 +08:00
H0llyW00dzZ
544bab0fe2
Refactor Summarize Logic
...
[+] chore(chat.ts): remove unnecessary comment and refactor variable name
[+] feat(chat.ts): add stream: false to config object
2023-11-09 20:56:45 +07:00
Yifei Zhang
87e3d663a2
fix : #3192 use smaller max_tokens as default
2023-11-09 11:00:09 +08:00
Yidadaa
d0a1d910d4
fix : #3186 enable max_tokens in chat payload
2023-11-09 03:19:13 +08:00
Yidadaa
d93f05f511
feat: close #3187 use CUSTOM_MODELS to control model list
2023-11-09 03:01:29 +08:00
Yidadaa
fbc0236748
fix : #3174 should prompt to confirm to delete chat
2023-11-09 02:03:05 +08:00
Yidadaa
54a5332834
feat: sort model by name
2023-11-08 01:04:20 +08:00
Yidadaa
c5ca278253
feat: close #2908 allow to disable parse settings from link
2023-11-08 00:30:02 +08:00
Yidadaa
836bf836d3
fix : #3152 system prompt should be injected
2023-11-07 23:54:30 +08:00
Yidadaa
cdf0311d27
feat: add claude and bard
2023-11-07 23:22:11 +08:00
H0llyW00dzZ
d2d615c84a
Refactor KnowledgeCutoff
...
[+] fix(constant.ts): update DEFAULT_SYSTEM_TEMPLATE to include knowledgeCutoff and time variables
[+] feat(chat.ts): add support for injecting system prompts based on model configuration
2023-11-07 06:42:55 +07:00
Yidadaa
5610f423d0
feat: add multi-model support
2023-10-30 02:07:11 +08:00
Jason O'Gray
ea59ab5176
Fix type in sync.ts
...
Simple typo fix.
2023-10-10 11:24:45 -04:00
GH Action - Upstream Sync
5933b3d7eb
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2023-10-08 00:19:29 +00:00
Yifei Zhang
13c1d2fd2b
Merge pull request #2946 from H0llyW00dzZ/ClientApp
2023-10-07 23:50:49 +08:00
KeithHello
1505372e20
Change log
...
- config.ts
- line 72: remove type confirmation of x as x always has type 'number'
- line 135: remove the redundant local variable
- chat.ts
- delete the unused import
2023-10-04 18:08:29 +09:00
KeithHello
ad5093ce05
Change log
...
- config.ts
- line 72 remove type confirmation of x as x always has type 'number'
- line 135 remove redundant local variable
- chat.ts
- delete unused import
2023-10-04 17:40:23 +09:00
H0llyW00dzZ
b558d1afc6
Feat & Fix "Client App [Notification]"
...
[+] feat(update.ts): add support for localization in update notifications
[+] fix(update.ts): add missing semicolon in useUpdateStore function
2023-10-04 02:10:26 +07:00
H0llyW00dzZ
ddfd05b008
Fix & Feat Client App [Notification]
...
[+] fix(update.ts): remove unnecessary notification sending when permission is not granted
[+] feat(update.ts): add notification for already up to date version
2023-10-03 09:12:41 +07:00
H0llyW00dzZ
d2ad01a9ff
Client App Fix Issue [Bug] 'export' button does not work #2884
...
[+] fix(exporter.tsx): add async keyword to download function
[+] feat(exporter.tsx): add support for saving image file using window.__TAURI__ API
[+] feat(global.d.ts): add types for window.__TAURI__ API methods
[+] feat(locales): add translations for download success and failure messages
[+] feat(sync.ts): add support for generating backup file name with date and time
[+] fix(utils.ts): add async keyword to downloadAs function and add support for saving file using window.__TAURI__ API
2023-10-03 08:49:03 +07:00
H0llyW00dzZ
64a17abfe2
Client App [Notification]
...
[+] feat(global.d.ts): add support for window.__TAURI__.notification methods
[+] feat(update.ts): add notification for new version availability
[+] fix(Cargo.toml): add tauri feature "notification-all" to enable notifications
[+] fix(tauri.conf.json): enable all notification features in tauri configuration
2023-10-03 08:08:11 +07:00
Eric R
f3d5fc7a84
[FIXED] now the default key should be CMD on MacOS
2023-09-28 06:50:31 -04:00
Yidadaa
f1e7db6a88
feat: auto fill upstash backup name
2023-09-19 03:33:17 +08:00
Yidadaa
83fed42997
feat: add upstash redis cloud sync
2023-09-19 03:18:34 +08:00
Yidadaa
d713d01600
feat: close #2848 click drag icon to toggle sidebar width
2023-09-19 01:47:15 +08:00
Yidadaa
6f83fbd212
feat: add webdav support
2023-09-13 02:51:02 +08:00
B0zal
605dd72354
[+] CodeQL Report Fix log injection vulnerability in useSyncStore
...
Severity : High
Sanitize the 'res' object before logging it in the 'check' method of useSyncStore to prevent log injection attacks.
The 'res' object is now sanitized by extracting only the necessary properties ('status', 'statusText', and 'headers') and logging the sanitized object instead.
This ensures that only safe and expected data is logged, mitigating the risk of log injection vulnerabilities.
2023-09-11 08:49:08 +07:00
Yidadaa
415e9dc913
fixup: minor sync fixup
2023-09-11 00:34:51 +08:00
Yidadaa
c73a91a0f5
fixup: fix type errors
2023-09-11 00:24:05 +08:00
Yidadaa
38f6956e71
feat: close #2754 add import/export to file
2023-09-11 00:20:23 +08:00
Yidadaa
3bd76b9156
feat: close #2580 only use 3.5 to summarize when not using custom models
2023-08-28 00:02:52 +08:00
imldy
20a508e2d6
feat: add autoGenerateTitle option
...
(cherry picked from commit 656ab94a9c4edfee820616b8cfc39f5ee9952a3a)
2023-08-14 20:42:09 +08:00
Yidadaa
4ab9141429
fix : #2564 should not clear message when error
2023-08-08 21:24:45 +08:00
Yidadaa
769c2f9f49
feat: close #2583 do not summarize with gpt-4
2023-08-08 21:22:41 +08:00
Yidadaa
b5ef552c25
feat: improve auto scroll ux and edit model title
2023-08-02 23:35:51 +08:00
Hopelwj
b9895ecadd
Merge branch 'Yidadaa:main' into main
2023-07-18 19:39:59 +08:00
liuweijie
322eb66fdf
fix: useAccessStore filter spaces
2023-07-18 19:38:16 +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
imldy
a4d012828c
fix: migrated mask object key
2023-07-11 21:02:09 +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
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
Yidadaa
a913d9728c
fixup
2023-07-09 22:06:41 +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
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
90d8f3117f
fix : #2295 use correct methods to migrate state
2023-07-09 16:28:15 +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
Yidadaa
4131fccbe0
feat: close #2192 use /list/models to get model ids
2023-07-04 23:16:24 +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
ee55f8790e
fix : #2208 use global settings button dose not work
2023-07-01 18:16:06 +08:00
Yidadaa
be4834688d
feat: close #2190 improve app auto updater
2023-06-30 00:39:54 +08:00
Yidadaa
1dd75b63de
feat: [WIP] support webdav
2023-06-28 00:34:01 +08:00
Yidadaa
5f0cda829f
feat: #2144 improve input template
2023-06-26 13:18:59 +08:00
Constaline
c05de45d99
feat: add "Hide_Balance_Query" environment variable
2023-06-25 20:20:36 +08:00
Yidadaa
ae1ef3215b
feat: close #628 add chat commands
2023-06-24 23:38:11 +08: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
PaRaD1SE98
f4c99c9cf7
fix: migrate modelConfig state
2023-06-22 02:11:07 +09: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
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
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
suhipek
d2ae740d5f
add new models
2023-06-14 01:51:37 +08:00
Yidadaa
50cd33dbb2
feat: #1000 ready to support client-side only
2023-06-14 00:37:42 +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
Yidadaa
4cf659c29b
chore: wont send system info if user use a mask
2023-05-22 23:52:09 +08:00
Yifei Zhang
e9642c7505
fix : #1688 wrong clear context index
2023-05-22 18:56:19 +08:00
Yidadaa
a19d238483
feat: close #1415 clear context button
2023-05-21 01:28:09 +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
Yifei Zhang
7f13a8d2bc
feat: support fast chatgpt mobile models
2023-05-19 18:34:48 +08:00
Yidadaa
736c66f46a
feat: stop all stale messages
2023-05-18 01:24:36 +08:00
Yidadaa
71cbf86b2c
fixup: add more error info
2023-05-16 01:58:58 +08:00
PaRaD1SE98
b357e2ecef
fix: typo IMPRTANT -> IMPORTANT
2023-05-15 10:03:11 +09: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
Yidadaa
bd90caa99d
refactor: llm client api
2023-05-14 23:00:17 +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
Yidadaa
36adfe87fb
fix : #1401 try to disable zoom
2023-05-11 23:21:16 +08:00
Yidadaa
cb55ce084c
feat: add model and time info to prompts
2023-05-10 00:51:43 +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
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
4b9d753254
fix : #1251 use google fonts mirror
2023-05-05 22:49:41 +08:00
Yidadaa
40223e6b3f
fix : #1237 can not delete cloned mask
2023-05-04 22:31:10 +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
e509749421
perf: improve prompt list performance
2023-05-02 02:26:43 +08:00
Yidadaa
9f3188fe45
fix : #1124 mask model config does not works
2023-05-01 23:37:02 +08:00
Yidadaa
c37885e743
fix : #1130 #1131 delete right session
2023-05-01 23:21:28 +08:00
Yidadaa
6419ce345f
fix: hot fix for data migration
2023-04-28 01:54:57 +08:00
Yidadaa
fb32770486
feat: i18n refactor and style adjustment
2023-04-28 00:34:37 +08:00
Yidadaa
30040a0366
feat: migrate state from v1 to v2
2023-04-27 02:00:22 +08:00
Yidadaa
c7c58ef031
feat: add i18n for mask
2023-04-27 01:16:21 +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
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
Yidadaa
ae479f4a92
fix : #963 config not work
2023-04-22 00:12:07 +08:00
Yidadaa
209a727fe9
feat: close #928 summarize with gpt3.5
2023-04-21 23:22:02 +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
Yifei Zhang
072a35b4ee
fix : #915 allow send 0 history messages
2023-04-19 11:20:07 +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
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
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
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
Yifei Zhang
150735b001
Update access.ts
2023-04-10 10:57:16 +08:00
Yidadaa
6ae61c5357
fix : #522 resizable side bar
2023-04-10 00:54:17 +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
637cda5b4c
fix : #613 show all prompts when input /
2023-04-08 02:53:35 +08:00
Yorun
71d9fbc367
fix: hide toast on cancel session deletion on mobile
2023-04-07 14:51:08 +08:00
Yidadaa
5952064362
feat: #499 revert delete session
2023-04-07 00:14:27 +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
Yidadaa
8e560d2b2e
fix : #410 can not stop response
2023-04-06 03:19:33 +08:00
Yidadaa
c2b37f811b
feat: close #469 support reset session and do not send memory
2023-04-06 02:37:12 +08:00
xiaotianxt
301cbbfdfb
feat(dnd): add drag and drop feature
2023-04-06 01:43:10 +08:00
yidadaa
4e644cfca7
fix : #418 valid model config
2023-04-04 01:05:33 +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
0d3bd42780
Update app.ts
2023-04-03 10:50:29 +08:00
Yifei Zhang
b85245e317
feat: #138 add context prompt, close #330 #321
2023-04-02 17:48:43 +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
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
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
RugerMc
1db210097c
feat: add switch of send preview bubble
2023-03-31 13:16:12 +08:00
Yifei Zhang
2f2e0b6762
fix: commit id as version id
2023-03-30 18:15:49 +00:00
Yifei Zhang
802ea20ec4
fix: auto scroll on enter
2023-03-30 17:04:32 +00:00
Yifei Zhang
7783545bff
feat: use tag as version number
2023-03-30 16:46:17 +00:00
Yifei Zhang
dea3d26335
fix: crash caused by filter config
2023-03-30 15:20:19 +00:00
Yifei Zhang
45088a3e06
feat: #112 add edit chat title
2023-03-29 16:02:50 +00:00
伏晓
f979822508
feat: add font size setting
2023-03-29 13:15:32 +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
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
b57663bf02
feat: now support gpt-4 model
2023-03-26 12:32:22 +00:00
Yifei Zhang
df66eef919
feat: support using user api key
2023-03-26 11:58:25 +00:00
Yifei Zhang
86507fa569
feat: #2 #8 add stop and retry button
2023-03-26 10:59:09 +00:00
Yifei Zhang
2c899cf00e
feat: #2 add access control by
...
access code
2023-03-26 06:53:40 +00:00
Yifei Zhang
99b88f36fd
refactor: #6 check update over one hour and debound scroll
2023-03-23 17:00:33 +00:00