Commit Graph

97 Commits

Author SHA1 Message Date
Hk-Gosuto
6da890e363 revert: 移除ddg配置代理的功能 2023-09-15 00:01:01 +08:00
Hk-Gosuto
38c41f9ed3 Merge remote-tracking branch 'upstream/main' 2023-09-13 12:47:16 +08:00
Yidadaa
dc555b2206 fixup 2023-09-13 02:52:28 +08:00
Yidadaa
6f83fbd212 feat: add webdav support 2023-09-13 02:51:02 +08:00
Hk-Gosuto
1e8068436f feat: ddg插件支持单独配置http代理 2023-09-12 13:02:41 +08:00
Hk-Gosuto
67696fa046 feat: 添加维基百科插件 2023-09-09 13:13:26 +08:00
Hk-Gosuto
c9c5ab2a9b feat: 支持开关指定内置插件 2023-09-04 21:59:42 +08:00
Hk-Gosuto
00479d5b32 feat: 网络访问更换为WebBrowser插件 2023-08-21 12:51:18 +08:00
Hk-Gosuto
9a8b3f06cd feat: agent支持自定义openaikey 2023-08-18 13:40:04 +08:00
Hk-Gosuto
20366fee35 feat: agent支持baseUrl配置 2023-08-18 12:01:28 +08:00
Hk-Gosuto
76eb2afd06 feat: 支持全局配置插件 2023-08-16 13:39:00 +08:00
Hk-Gosuto
6f38ee9a88
Merge pull request #8 from Hk-Gosuto/dev
支持 ChatSession 级别插件功能开关
2023-08-12 00:56:18 +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
1147d63e8e
Merge branch 'Yidadaa:main' into main 2023-08-10 11:48:57 +08:00
Yifei Zhang
0b7de6f7b2
fix: #2594 trim the / 2023-08-10 10:47:06 +08:00
Hk-Gosuto
987598f30d Merge remote-tracking branch 'upstream/main' 2023-08-09 12:27:52 +08:00
Yidadaa
b14c5cd89c fix: #2485 one-time-use body 2023-08-08 21:36:37 +08:00
Hk-Gosuto
d693d51201 feat: 增加bing搜索插件支持 2023-08-07 12:31:03 +08:00
Hk-Gosuto
6271491399 fix: 修复 vercel 部署接口超时的问题 2023-08-02 12:59:21 +08:00
Hk-Gosuto
a5bc735548 fix: 修复问题 2023-07-31 18:40:46 +08:00
Hk-Gosuto
39ee7591a5 chore: 更新引用 2023-07-29 19:09:28 +08:00
Hk-Gosuto
1d5e8a9cbf feat: 支持duckduckgo搜索插件 2023-07-29 19:02:57 +08:00
Hk-Gosuto
58d2024fea feat: agent接口支持鉴权 2023-07-24 12:01:44 +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
Yidadaa
30473ec41e fix: #2367 do not copy in async callback after sharing to ShareGPT 2023-07-16 16:14:57 +08:00
markshawn2020
1c335a68e0 fixed openai base url if empty 2023-07-14 21:03:32 +08:00
Hk-Gosuto
be560a7485
Merge branch 'Yidadaa:main' into main 2023-07-12 11:10:21 +08:00
yuanliang feng
a832cfb343
Update common.ts 2023-07-11 15:46:40 +08:00
yuanliang feng
7a0b437626
Update common.ts 2023-07-10 17:26:28 +08:00
Hk-Gosuto
2c69d5c557
Merge branch 'Yidadaa:main' into main 2023-07-10 15:27:47 +08:00
ShengYan, Zhang
dd047fd58f fix: typos 2023-07-10 10:09:19 +08:00
Hk-Gosuto
c6328095bc fix: tools api 2023-07-06 13:12:25 +08:00
Hk-Gosuto
04d3c1f315 sync upstream code 2023-07-06 00:19:05 +08:00
Yidadaa
4131fccbe0 feat: close #2192 use /list/models to get model ids 2023-07-04 23:16:24 +08:00
Constaline
c05de45d99 feat: add "Hide_Balance_Query" environment variable 2023-06-25 20:20:36 +08:00
mushan0x0
9c05d136f5
fix: #2061 RequestInit TypeError 2023-06-20 11:57:31 +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
0d4611052e feat: white url list for openai security 2023-06-13 00:39:29 +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
37da759fd5 fix: #1815 refuse to serve when disable gpt4 2023-06-07 01:02:01 +08:00
popcell
d533895637 fix: #1746 Can't modify immutable headers. 2023-05-25 17:50:46 +08:00
Yidadaa
c2b36cdffa feat: prevent browser to invoke basic auth popup 2023-05-21 00:06:28 +08:00
Yidadaa
af497c96ec fix: #1612 infinite loading 2023-05-20 19:58:12 +08:00
Yidadaa
203ac0970d feat: #1640 support free gpt endpoint 2023-05-19 23:53:27 +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