Commit Graph

73 Commits

Author SHA1 Message Date
Hk-Gosuto
c637826ebe Merge remote-tracking branch 'upstream/main' 2023-11-09 12:10:43 +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
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
ae86dfbf70
Merge branch 'Yidadaa:main' into main 2023-10-10 15:14:18 +08: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
Hk-Gosuto
06a8a10e54 Merge remote-tracking branch 'upstream/main' 2023-09-11 12:05:49 +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
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
987ddf5f0f feat: 修改插件模型版本限制 2023-08-21 23:55:08 +08:00
Hk-Gosuto
76eb2afd06 feat: 支持全局配置插件 2023-08-16 13:39:00 +08:00
Hk-Gosuto
d85c18b3e1
Merge branch 'Yidadaa:main' into main 2023-08-14 23:20:31 +08:00
imldy
20a508e2d6 feat: add autoGenerateTitle option
(cherry picked from commit 656ab94a9c4edfee820616b8cfc39f5ee9952a3a)
2023-08-14 20:42:09 +08:00
Hk-Gosuto
fb1b92e9cc feat: 支持 ChatSession 级别插件功能开关 2023-08-12 00:53:15 +08:00
Hk-Gosuto
6b28bcd9b5 feat: 支持session级别插件开关 2023-08-11 17:55:50 +08:00
Hk-Gosuto
987598f30d Merge remote-tracking branch 'upstream/main' 2023-08-09 12:27:52 +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
Hk-Gosuto
08d53ef0a6 fix: 修复编译错误 2023-07-22 15:46:28 +08:00
Hk-Gosuto
2bb421b8bf feat: 使用langchain实现插件功能 2023-07-22 15:38:44 +08:00
Hk-Gosuto
22dd01dc59
Merge branch 'Yidadaa:main' into main 2023-07-16 23:02:53 +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
Hk-Gosuto
abb216100d
Merge branch 'Yidadaa:main' into main 2023-07-11 13:02:58 +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
Hk-Gosuto
55ff34f511
Merge branch 'Yidadaa:main' into main 2023-07-10 12:26:34 +08:00
Yidadaa
8e4743e719 feat: #920 migrate id to nanoid 2023-07-09 19:37:42 +08:00
Hk-Gosuto
04d3c1f315 sync upstream code 2023-07-06 00:19:05 +08:00
sunls233
089e3b8946 fix summarize don't send 2023-07-05 14:27:37 +08:00
Yidadaa
5f0cda829f feat: #2144 improve input template 2023-06-26 13:18:59 +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
Yidadaa
db63a5a670 fix: #1771 should not lose chat context when sumindex > n - count 2023-06-18 00:51:16 +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
76fdd047e7 feat: new token count function 2023-06-15 00:14:38 +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