Commit Graph

214 Commits

Author SHA1 Message Date
Hk-Gosuto
7f3d261fb2 feat: api supports image input 2023-12-06 13:12:47 +08:00
Hk-Gosuto
796abf83ce Merge remote-tracking branch 'upstream/main' 2023-12-06 11:00:40 +08:00
Hk-Gosuto
a810ebea36 feat: plugin filtering 2023-11-29 13:11:00 +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
Hk-Gosuto
f718ca030f Merge remote-tracking branch 'upstream/main' 2023-11-16 12:46:09 +08: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
Hk-Gosuto
c637826ebe Merge remote-tracking branch 'upstream/main' 2023-11-09 12:10:43 +08: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
Hk-Gosuto
4eeb21af7d Merge remote-tracking branch 'upstream/main' 2023-11-08 18:43:40 +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
Hk-Gosuto
3403825a71
Merge branch 'Yidadaa:main' into main 2023-11-06 22:01:33 -06: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
Hk-Gosuto
e95242adde
Merge branch 'Yidadaa:main' into main 2023-10-12 09:01:34 +08:00
Jason O'Gray
ea59ab5176
Fix type in sync.ts
Simple typo fix.
2023-10-10 11:24:45 -04:00
Hk-Gosuto
ae86dfbf70
Merge branch 'Yidadaa:main' into main 2023-10-10 15:14:18 +08:00
Hk-Gosuto
33d4f3d603
Merge branch 'Yidadaa:main' into main 2023-10-07 20:17:16 -05: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
Hk-Gosuto
90ce3f1e19
Merge branch 'Yidadaa:main' into main 2023-09-19 10:40:09 +08: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
Hk-Gosuto
9a690dbcd0 fix(15): 修复插件功能支持模型判断逻辑 2023-09-13 13:06:39 +08:00
Hk-Gosuto
38c41f9ed3 Merge remote-tracking branch 'upstream/main' 2023-09-13 12:47:16 +08:00
Yidadaa
6f83fbd212 feat: add webdav support 2023-09-13 02:51:02 +08:00
Hk-Gosuto
a84b0f03b9 Merge remote-tracking branch 'upstream/main' 2023-09-12 13:14:32 +08:00
Hk-Gosuto
06a8a10e54 Merge remote-tracking branch 'upstream/main' 2023-09-11 12:05:49 +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
Hk-Gosuto
67696fa046 feat: 添加维基百科插件 2023-09-09 13:13:26 +08:00
Hk-Gosuto
7c8872beb9 fix(12): 修复问题 2023-09-05 19:08:29 +08:00
Hk-Gosuto
c9c5ab2a9b feat: 支持开关指定内置插件 2023-09-04 21:59:42 +08:00
Hk-Gosuto
c5cc16ca09 Merge remote-tracking branch 'upstream/main' 2023-08-28 19:53:05 +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
Hk-Gosuto
4db91346fd feat: 修改默认迭代次数 2023-08-23 16:28:42 +08:00