Commit Graph

297 Commits

Author SHA1 Message Date
lloydzhou 7a5596b909 hotfix 2024-07-04 15:48:48 +08:00
lloydzhou e7b16bfbc0 add function to check model is available 2024-07-04 15:30:24 +08:00
lloydzhou 69974d5651 gemini using real sse format response #3677 #3688 2024-07-01 13:24:01 +00:00
Hk-Gosuto f260f11755 Merge remote-tracking branch 'upstream/main' 2024-06-26 00:58:44 +00:00
Fred 9fb8fbcc65
fix: validate the url to avoid SSRF 2024-06-24 14:31:50 +08:00
Hk-Gosuto 740ece39da fix: USE_OPENAI_ENDPOINT_FOR_ALL_MODELS 2024-06-07 18:04:05 +08:00
Hk-Gosuto c289305b05 feat: add env 2024-06-06 21:39:48 +08:00
Hk-Gosuto fe9a17693c feat: support google multiple keys 2024-05-28 21:34:54 +08:00
Hk-Gosuto e759631ba3 feat: support edge tts 2024-05-27 21:27:05 +08:00
Sheng Fan b1e91ca5cd lower the chance that music recognition fails 2024-05-25 19:27:39 +08:00
DeanYao d89a12aa05
Revert "Chat gpt" 2024-05-20 19:02:46 +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
Hk-Gosuto 820fb4a748 Merge remote-tracking branch 'upstream/main' 2024-05-09 09:05:26 +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
Hk-Gosuto 6db7bd2ff0 Merge remote-tracking branch 'upstream/main' 2024-05-05 17:17:41 +08: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
Hk-Gosuto efdfdc8b6a
Merge branch 'ChatGPTNextWeb:main' into main 2024-04-12 18:04:09 +08:00
Hk-Gosuto 094f4ea6b9 feat: support langchain vision mode 2024-04-12 14:49:50 +08:00
butterfly b72d7fbeda feat: fix webdav 逻辑2 2024-04-12 13:46:37 +08:00
butterfly ee15c14049 feat: fix webdav 逻辑 2024-04-12 13:40:37 +08:00
Hk-Gosuto 668ee60e53 Merge remote-tracking branch 'upstream/main' 2024-04-12 12:18:38 +08:00
Hk-Gosuto d725b342a8 chore: small changes 2024-04-11 13:02:36 +08:00
Sheng Fan 1087df6b37 update tool to accept new arguments 2024-04-11 12:58:49 +08:00
Sheng Fan d5531d0e9c support bilibili-related plugins in edge deployments 2024-04-10 19:53:06 +08:00
Sheng Fan 45723956b5 update plugins and env template for better usages 2024-04-10 14:02:59 +08:00
Sheng Fan 6fad00f5bc add todo 2024-04-09 22:25:07 +08:00
Sheng Fan 41779daee8 remove unnecessary logging 2024-04-09 22:08:01 +08:00
Sheng Fan 74ac8b612b add video conclusion plugin 2024-04-09 22:04:37 +08:00
butterfly df3313971d feat: Optimize code 2024-04-09 18:24:22 +08:00
butterfly b175132854 feat: Optimize var names 2024-04-09 18:23:52 +08:00
butterfly 8b191bd2f7 feat: white webdav server domain 2024-04-09 18:05:56 +08:00
Sheng Fan c77c14c69a add support for b23.tv links 2024-04-08 18:15:26 +08:00
Sheng Fan aa1035d889
Merge branch 'main' into main 2024-04-08 16:51:00 +08:00
butterfly 5446d8d4a2 feat: fix illegal exports in app/api/anthropic/[...path]/route.ts 2024-04-08 13:59:55 +08:00
Hk-Gosuto dc4137505e fix: docker rag bug 2024-04-08 12:42:10 +08:00
Hk-Gosuto b00e9f0c79 feat: #77 2024-04-07 18:01:34 +08:00
Hk-Gosuto 958ab02d1e alpha version 2024-04-07 18:01:34 +08:00
Hk-Gosuto ac57b2c770 chore: temp commit 2024-04-07 18:01:34 +08:00
Hk-Gosuto 80a077a3db feat: support other type file upload 2024-04-07 18:01:34 +08:00
butterfly 3cb4315193 feat: clean codes 2024-04-07 11:50:25 +08:00
butterfly 69b079c86e feat: dev done 2024-04-07 11:32:57 +08:00
Sheng Fan 5743ceda59 add plugin: bili music recognition 2024-04-06 23:14:53 +08:00
Sheng Fan c7f1358709 Add plugin: Bilibili Video Searching 2024-04-06 20:19:37 +08:00
Sheng Fan 5a6e386440 Add plugin: Bilibili Video Info Fetching 2024-04-06 17:23:14 +08:00
Hk-Gosuto 57cfeb5a76 Merge remote-tracking branch 'upstream/main' 2024-03-28 15:15:23 +08:00
DeanYao 8ef77f50c3
Merge branch 'main' into serverrside 2024-03-28 11:20:52 +08:00
Hk-Gosuto ab0d7743de Merge remote-tracking branch 'upstream/main' 2024-03-26 18:00:04 +08:00
fred-bf e8d76a513d
patch: disable webdav redirect 2024-03-24 14:15:04 +08:00
Hk-Gosuto a18cb2c525 feat: #226 2024-03-24 11:43:13 +08:00
H0llyW00dzZ c0c54e5709
Fix Webdav Syncing Issues
- [+] feat(route.ts): add endpoint validation and improve error handling
- [+] refactor(route.ts): use targetPath for request validation and error messages
- [+] fix(route.ts): correct targetUrl formation
2024-03-20 01:40:41 +07:00
Hk-Gosuto f80663cede Merge remote-tracking branch 'upstream/main' 2024-03-17 10:23:28 +08:00
Fred 99aa064319
fix: fix webdav sync issue 2024-03-14 01:58:25 +08:00
Fred 6aaf83f3c2
fix: fix upstash sync issue 2024-03-14 01:56:36 +08:00
Fred 8645214654
fix: change matching pattern 2024-03-14 01:26:13 +08:00
Fred eebc334e02
fix: remove corsFetch 2024-03-14 00:57:54 +08:00
Fred 038fa3b301
fix: add webdav request filter 2024-03-14 00:33:26 +08:00
Fred 9a8497299d
fix: adjust upstash api 2024-03-13 23:58:28 +08:00
Hk-Gosuto 8fbcc653a0 Merge remote-tracking branch 'upstream/main' 2024-03-08 17:35:13 +08:00
Hk-Gosuto 8363fd26c5 fix: #198 2024-02-20 10:30:56 +08:00
Hk-Gosuto 6dd0ad628e fix: #194 2024-02-19 16:29:08 +08:00
Hk-Gosuto 309431a90b build: update langchain 2024-02-19 15:12:27 +08:00
Hk-Gosuto 5e43a4ff2d chore: update pdf browser plugin 2024-02-12 23:10:27 +08:00
Hk-Gosuto c8b7378b70 fix: #185 2024-02-11 10:14:37 +08:00
Hk-Gosuto fee45f7b23 fix: gemini 2024-02-09 13:00:21 +08:00
Hk-Gosuto 64453bb15d fix: #180 2024-02-08 14:27:40 +08:00
Hk-Gosuto 81ef7a8956 Merge remote-tracking branch 'upstream/main' 2024-01-31 11:38:13 +08:00
NieXi f6cdda9029
update google api region (#3934)
Co-authored-by: GH Action - Upstream Sync <action@github.com>
2024-01-27 15:55:44 +08:00
Hk-Gosuto 16e82afaad build: update langchain 2024-01-24 20:54:15 +08:00
Hk-Gosuto 30f9dc756a chore: modify the plug-in return 2024-01-24 20:54:15 +08:00
Yasin 5a7b9abe33
Fix: Routes `/api/cors/[...path]` was not configured to run with the Edge Runtime 2024-01-08 18:43:31 +08:00
Hk-Gosuto 296df592e0 feat: support local storage 2024-01-05 19:29:14 +08:00
Hk-Gosuto d85b95a980 chore: close console 2023-12-31 14:33:49 +08:00
Hk-Gosuto cb096e5772 feat: rewrite WolframAlphaTool 2023-12-31 14:32:47 +08:00
Hk-Gosuto 98b5ace66e fix: gemini authentication error 2023-12-30 11:37:39 +08:00
Hk-Gosuto 2a9b36f626 feat: add wolframAlpha plugin 2023-12-29 19:01:00 +08:00
Hk-Gosuto 4551abdce8 feat: dall-e plugin upgrade 2023-12-29 18:35:14 +08:00
Hk-Gosuto 568ffede5c Merge branch 'feature-openai-tool-call' 2023-12-29 18:23:39 +08:00
Hk-Gosuto cccd518008 fix: tool call returnDirect 2023-12-29 18:19:48 +08:00
Hk-Gosuto 78bc819742 fix: fix gemini stream output 2023-12-29 14:10:51 +08:00
akira-cn d700cbeb9a fix: remove the content-encoding header 2023-12-29 13:52:01 +08:00
akira-cn 3c92e378b5 fix: remove the content-encoding header 2023-12-29 13:52:01 +08:00
Fred Liang 9bfd979b08 chore: update auth value logic (#3630) 2023-12-29 13:51:02 +08:00
Hk-Gosuto 8cdbc231ca feat: support tool call 2023-12-29 09:43:37 +08:00
Hk-Gosuto d050fe636f chore: remove log 2023-12-27 18:09:30 +08:00
Hk-Gosuto 42ee0e0924 chore: modify arxiv api http to https 2023-12-27 12:18:56 +08:00
Hk-Gosuto 445e05c63f fix: fix bug 124 2023-12-27 12:17:39 +08:00
Yifei Zhang 350ddd2af1
Merge pull request #3215 from akira-cn/main
fix: remove the content-encoding header
2023-12-27 01:26:48 +08:00
Hk-Gosuto 1c845c5676 feat: support googleCustomSearchTool 2023-12-26 13:25:14 +08:00
Hk-Gosuto 24de1bb77a fix: support azure 2023-12-25 19:34:30 +08:00
Hk-Gosuto fa2e046285 Merge remote 2023-12-25 12:40:09 +08:00
Hk-Gosuto da29a94714 Merge remote-tracking branch 'upstream/main' 2023-12-25 12:39:24 +08:00
Fred Liang 422d70d928
chore: update auth value logic (#3630) 2023-12-25 10:25:43 +08:00
Fred Liang 19137b79bc
fix: return bearer header when using openai 2023-12-25 09:57:40 +08:00
Fred Liang f5ed1604aa
fix: fix removing bearer header 2023-12-25 05:24:20 +08:00
Fred Liang 5c638251f8
fix: fix using different model 2023-12-25 05:12:21 +08:00
Fred Liang cad461b121
chore: remove console log 2023-12-25 04:09:38 +08:00
Fred Liang 5af68ac545
fix: fix issue https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/3616 2023-12-25 04:07:35 +08:00
H0llyW00dzZ 35471a41c8
Fix & Feat [Auth] Api Key Variable
- [+] fix(auth.ts): fix variable name from serverApiKey to systemApiKey
- [+] feat(auth.ts): add support for Google API key in addition to Azure API key
2023-12-25 00:37:48 +07:00
Fred Liang aea794e522
chore: remove openai log from google api handler 2023-12-24 17:37:07 +08:00
Fred Liang 7d9a2132cb
fix: fix server token fetch policy 2023-12-24 03:57:30 +08:00