frostime
b6a022b0ef
✨ feat(config): Set markdown's font-family
2024-08-03 16:04:20 +08:00
lloydzhou
46cb48023e
fix typescript error
2024-08-02 18:50:48 +08:00
lloydzhou
ac599aa47c
add dalle3 model
2024-08-02 18:00:42 +08:00
lloydzhou
6a0bda00f5
merge main
2024-08-01 15:39:54 +08:00
lloydzhou
f85ec95877
hotfix for tencent sign
2024-08-01 15:33:48 +08:00
lloydzhou
fd9e94e078
merge main
2024-08-01 13:18:33 +08:00
lloydzhou
b8bbc37b8e
merge main
2024-08-01 11:57:23 +08:00
lloydzhou
40cbabc330
add moonshot api
2024-08-01 11:55:22 +08:00
Dogtiti
715d1dc02f
fix: default enable artifacts
2024-07-26 15:55:01 +08:00
lloydzhou
825929fdc8
merge main
2024-07-25 19:18:45 +08:00
lloydzhou
044116c14c
add plugin selector on chat
2024-07-25 13:29:39 +08:00
lloydzhou
8f14de5108
hotfix: ts check
2024-07-25 12:34:35 +08:00
lloydzhou
8f6e5d73a2
hotfix: can send sd task in client
2024-07-25 12:31:30 +08:00
Dogtiti
3935c725c9
feat: sd setting
2024-07-23 22:44:09 +08:00
Dogtiti
82e6fd7bb5
feat: move sd config to store
2024-07-23 21:43:55 +08:00
Lloyd Zhou
5b126c7e52
Revert "feat: improve components structure"
2024-07-22 22:18:51 +08:00
Dogtiti
038e6df8f0
feat: improve components structure
2024-07-22 16:02:45 +08:00
lloydzhou
e468fecf12
update
2024-07-20 20:44:19 +08:00
lloydzhou
fc31d8e5d1
merge origin/main
2024-07-20 15:15:46 +08:00
Dogtiti
622d8a4edb
Merge pull request #5063 from ChenglongWang/summary_model
...
Change gpt summary model to gpt-4o-mini
2024-07-19 23:53:00 +08:00
Chenglong Wang
0236e13187
Change gpt summary model to gpt-4o-mini.
2024-07-19 23:36:57 +08:00
YeungYeah
a3d4a7253f
Merge remote-tracking branch 'source/main'
2024-07-19 21:38:25 +08:00
Dogtiti
a280e25ee7
Merge pull request #5046 from PeterDaveHello/Add-zh-tw-prompts
...
Add Traditional Chinese prompts converted from Simplified Chinese version
2024-07-19 10:54:54 +08:00
DDDDD12138
8edc0989e2
chore: remove unused imports and correct typos
2024-07-18 01:51:56 +08:00
Peter Dave Hello
238d3122c4
Add Traditional Chinese prompts converted from Simplified Chinese version
2024-07-17 22:38:43 +08:00
YeungYeah
ee22fba448
Merge branch 'main' into main
2024-07-17 22:16:30 +08:00
lloydzhou
49151dabf5
hotfix
2024-07-16 23:18:34 +08:00
lloydzhou
bab3e0bc9b
using CacheStorage to store image #5013
2024-07-16 01:19:40 +08:00
lloydzhou
a1117cd4ee
save blob to indexeddb instead of base64 image string
2024-07-15 20:47:49 +08:00
lloydzhou
5df09d5e2a
move code to utils/file
2024-07-15 20:26:03 +08:00
lloydzhou
33450ce429
move code to utils/file
2024-07-15 20:09:21 +08:00
lloydzhou
e2f0206d88
update using indexdb read sd image data
2024-07-15 19:29:25 +08:00
licoy
3767b2c7f9
test
2024-07-15 15:29:56 +08:00
lloydzhou
476bdac717
update
2024-07-12 21:52:38 +08:00
lloydzhou
9b97dca601
hotfix: custom comfig for Gemini api. #4944
2024-07-12 21:27:30 +08:00
licoy
d61cb98ac7
Merge remote-tracking branch 'origin/dev-sd' into dev-sd
2024-07-12 10:33:58 +08:00
licoy
74b915a790
fix: sd3 model default select
2024-07-12 10:32:06 +08:00
lloydzhou
498d0f0b8b
merge main
2024-07-11 15:29:47 +08:00
lloydzhou
23872086fa
merge code
2024-07-09 19:37:47 +08:00
lloydzhou
c229d2c3ce
merge main
2024-07-09 16:53:15 +08:00
lloydzhou
93a03f8fe4
Merge remote-tracking branch 'origin/main' into feat-baidu
2024-07-09 15:06:10 +08:00
lloydzhou
6ac9789a1c
hotfix
2024-07-09 12:16:37 +08:00
licoy
2b0153807c
feat: Add Stability API server relay sending
2024-07-09 09:50:04 +08:00
Dogtiti
9bdd37bb63
feat: qwen
2024-07-07 21:59:56 +08:00
Dogtiti
d726c71141
wip: tencent
2024-07-07 14:43:28 +08:00
Dogtiti
2ec8b7a804
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-Web into feature/ByteDance
2024-07-06 21:14:07 +08:00
Dogtiti
9f7d137b05
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-Web into feat-baidu
2024-07-06 21:11:50 +08:00
Dogtiti
9b3b4494ba
wip: doubao
2024-07-06 14:59:37 +08:00
Dogtiti
785d3748e1
feat: support baidu model
2024-07-06 13:05:09 +08:00
Dogtiti
5e0657ce55
feat: add getClientApi method
2024-07-06 11:27:53 +08:00
lloydzhou
1c20137b0e
support azure deployment name
2024-07-05 19:59:45 +08:00
lloydzhou
a68341eae6
include providerId in fullName
2024-07-04 16:11:37 +08:00
lloydzhou
aa08183439
hotfix
2024-07-04 16:03:35 +08:00
lloydzhou
14f2a8f370
merge model with modelName and providerName
2024-07-04 15:32:08 +08:00
licoy
a16725ac17
feat: Improve SD list data and API integration
2024-07-03 15:37:34 +08:00
YeungYeah
74986803db
feat: add google api safety setting
2024-06-15 12:09:58 +08:00
DeanYao
d89a12aa05
Revert "Chat gpt"
2024-05-20 19:02:46 +08:00
Kivi1998
7f3516f44f
Merge branch 'main' into chatGPT
2024-05-16 15:14:43 +08:00
Hao Jia
bfdb47a7ed
ChatGPT Logo
2024-05-16 15:03:14 +08:00
Hao Jia
01c9dbc1fd
Merge remote-tracking branch 'origin/main' into gpt-4o
...
# Conflicts:
# public/apple-touch-icon.png
2024-05-16 14:43:10 +08:00
Dean-YZG
0aa807df19
feat: remove empty memoryPrompt in ChatMessages
2024-05-16 14:41:18 +08:00
Dean-YZG
fffbee80e8
Merge remote-tracking branch 'origin/main' into chore-fix
2024-05-13 17:58:28 +08:00
Dean-YZG
9d7ce207b6
feat: support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs
2024-05-13 17:11:35 +08:00
Dean-YZG
2d1f0c9f57
feat: support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs
2024-05-13 17:11:11 +08:00
Dean-YZG
c10447df79
feat: 1)upload image with type 'heic' 2)change the empty message to ';' for models 3)
2024-05-13 16:24:15 +08:00
DeanYao
212ae76d76
Merge pull request #4610 from rooben-me/fix-sync
...
Fix Sync Issue with Upstash
2024-05-13 11:28:29 +08:00
butterfly
b3e856df1d
feat: fix 1)the property named 'role' of the first message must be 'user' 2)if default summarize model 'gpt-3.5-turbo' is blocked, use currentModel instead 3)if apiurl&apikey set by location, useCustomConfig would be opened
2024-05-06 19:26:39 +08:00
ruban
8ef2617eec
Removed spaces
2024-05-02 23:24:41 -07:00
ruban
1da7d81122
Fix cloud data sync issue with Upstash ( #4563 )
2024-05-02 23:22:32 -07:00
ruban
a103582346
fix
2024-05-02 23:10:10 -07:00
ruban
7b61d05e88
new fix
2024-05-02 23:08:17 -07:00
ruban
6fc7c50f19
this
2024-05-02 22:55:41 -07:00
ruban
9d728ec3c5
this is ti
2024-05-02 22:50:35 -07:00
ruban
9cd3358e4e
this is the fix
2024-05-02 22:40:52 -07:00
ruban
4cd94370e8
fix i think
2024-05-03 05:25:11 +00:00
Wayland Zhan
c96e4b7966
feat: Support a way to define default model by adding DEFAULT_MODEL env.
2024-04-19 06:57:15 +00:00
l.tingting
aa084ea09a
add timezone in system prompts
2024-04-12 23:07:29 +08:00
butterfly
ee15c14049
feat: fix webdav 逻辑
2024-04-12 13:40:37 +08:00
butterfly
79f342439a
feat: Solve the problem of using openai interface protocol for user-defined claude model & add some famous webdav endpoints
2024-04-09 20:49:51 +08:00
butterfly
264da6798c
feat: remove duplicate Input Template
2024-04-08 18:06:17 +08:00
butterfly
86b5c55855
feat: roles must alternate between user and assistant in claude, so add a fake assistant message between two user messages
2024-04-07 18:02:31 +08:00
butterfly
768decde93
feat: parse response message
2024-04-07 15:20:27 +08:00
butterfly
69b079c86e
feat: dev done
2024-04-07 11:32:57 +08:00
DeanYao
e38b527ac2
Merge pull request #3205 from H0llyW00dzZ/summarizelogic
...
Refactor Summarize Logic
2024-03-28 15:19:32 +08:00
Fred
066ca9e552
fix: auto migrate proxy config
2024-03-14 03:03:46 +08:00
Qiying Wang
fd67f980a5
Fix temperature range ( #4083 )
2024-02-20 18:05:17 +08:00
TheRam_
e2da3406d2
Add vision support ( #4076 )
2024-02-20 18:04:32 +08:00
fred-bf
bca74241e6
fix: fix gemini issue when using app ( #4013 )
...
* chore: update path
* fix: fix google auth logic
* fix: not using header authorization for google api
* chore: revert to allow stream
2024-02-07 13:17:11 +08:00
fred-bf
9d5801fb5f
fix: avoiding not operation for custom models ( #4010 )
2024-02-07 10:31:49 +08:00
H0llyW00dzZ
a5517a1a51
Improve Default System Template ( #3996 )
...
* Feat [UI/UX] [Constant] [DEFAULT System Template] replace hardcoded
- [+] feat(constant.ts): replace hardcoded OpenAI with dynamic ServiceProvider variable in DEFAULT_SYSTEM_TEMPLATE
* Improve [UI/UX] [Chat] "fillTemplateWith"
- [+] feat(chat.ts): add DEFAULT_MODELS to modelConfig
- [+] fix(chat.ts): replace replaceAll with regex in output string replacement
- [+] refactor(chat.ts): use const instead of let for cutoff variable
2024-02-05 13:35:51 +08:00
Duplicate4
b25a0545f5
fix: typo ( #3871 )
...
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-02-03 01:20:10 +08:00
fred-bf
f619e9df24
chore: change default submit key
2024-01-25 15:22:45 +08:00
reece00
3ba598633c
Non -GPT model disable system prompt ( #3684 )
2023-12-28 23:52:45 +08:00
Fred Liang
199f29e63c
chore: auto concat messages
2023-12-25 04:33:47 +08:00
Fred Liang
ae19a0dc5f
chroe: update model name
2023-12-24 04:22:12 +08:00
Fred Liang
45798f993d
fix: fix type errors
2023-12-24 02:39:13 +08:00
Fred Liang
778e88cb56
chore: resolve conflict
2023-12-24 02:15:30 +08:00
Fred Liang
3ef0621eb0
refactor: update product name
2023-12-23 16:48:16 +08:00
H0llyW00dzZ
ef9e86b50d
Fix UI/UX Page Chats [Memory Prompt] [Stored Local Storage]
...
- [+] fix(chat.ts): update the memory prompt in onFinish callback
- [+] feat(chat.ts): update the current session with lastSummarizeIndex and memoryPrompt
2023-11-25 05:03:34 +07:00
Yifei Zhang
d033168d80
fix : #3241 should not ensure openai url non-empty
2023-11-13 10:53:30 +08:00
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