Commit Graph

215 Commits

Author SHA1 Message Date
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
Fred Liang
20f2f61349 feat: support set api key from client side 2023-12-24 03:44:13 +08:00
Fred Liang
4169431f2c fix: fix add api auth 2023-12-24 03:05:23 +08:00
Fred Liang
778e88cb56 chore: resolve conflict 2023-12-24 02:15:30 +08:00
Hk-Gosuto
f572df051d chore: code 2023-12-21 19:09:18 +08:00
Hk-Gosuto
ee08ab4070 feat: support gemini pro 2023-12-21 19:09:18 +08:00
Hk-Gosuto
4044891f85 feat: support custom dalle model 2023-12-21 12:39:18 +08:00
Hk-Gosuto
789de39b2c feat: support dall-e image not storage 2023-12-14 20:03:53 +08:00
Hk-Gosuto
600a7d2197 feat: images using object service storage 2023-12-10 21:23:40 +08:00
Hk-Gosuto
b84da5e120 feat: support custom s3 service 2023-12-10 21:04:24 +08:00
Hk-Gosuto
796abf83ce Merge remote-tracking branch 'upstream/main' 2023-12-06 11:00:40 +08:00
H0llyW00dzZ
8dc8682078 Fix Api Common [Server Side]
- [+] fix(common.ts): improve handling of OpenAI-Organization header
 - Check if serverConfig.openaiOrgId is defined and not an empty string
 - Log the value of openaiOrganizationHeader if present, otherwise log that the header is not present
 - Conditionally delete the OpenAI-Organization header from the response if [Org ID] is undefined or empty (not setup in ENV)
2023-12-04 13:33:23 +07:00
H0llyW00dzZ
36e9c6ac4d Refactor Api Common [Server Side] [Console Log]
- [+] refactor(common.ts): remove unnecessary console.log for [Org ID] in requestOpenai function
- [+] refactor(common.ts): conditionally delete OpenAI-Organization header from response if [Org ID] is not set up in ENV
2023-12-01 19:49:12 +07:00
Hk-Gosuto
a9f2a9d963 fix(73): fix bug 2023-12-01 17:48:11 +08:00
Hk-Gosuto
e88685fc98 refactor: refactor code 2023-11-29 13:11:00 +08:00
Hk-Gosuto
293679fa64 refactor: refactor agent api route 2023-11-29 13:11:00 +08:00
Hk-Gosuto
35f5dc52e7 feat: support switch nodejs plugin 2023-11-29 13:11:00 +08:00
Hk-Gosuto
a8e19a81ff feat: add pdf browser plugin 2023-11-29 13:11:00 +08:00
H0llyW00dzZ
f9d916925e Fixup Api Common [Server Side] [Console Log]
- [+] fix(common.ts): fix condition to check if serverConfig.openaiOrgId is not undefined
2023-11-25 10:23:16 +07:00
H0llyW00dzZ
f9258878db Fix Api Common [Server Side] [Console Log]
- [+] fix(common.ts): fix console.log statement for [Org ID] to handle undefined value
2023-11-25 10:10:06 +07:00
Hk-Gosuto
e173ac76f4 Merge branch 'Yidadaa:main' into main 2023-11-16 22:01:25 -06:00
Hk-Gosuto
f718ca030f Merge remote-tracking branch 'upstream/main' 2023-11-16 12:46:09 +08:00
Eric-2369
74eb42c111 config: exclude hkg1 from the deployment regions of the edge function 2023-11-16 11:33:10 +08:00
Yidadaa
9876a1aeca fix: #3275 refuse on server side if hide user api key 2023-11-16 00:53:11 +08:00
Yidadaa
a5a1f2e8ad feat: CUSTOM_MODELS support mapper 2023-11-12 00:46:21 +08:00
akira-cn
dd6e79922a fix: remove the content-encoding header 2023-11-10 20:42:12 +08:00
akira-cn
bf84269520 fix: remove the content-encoding header 2023-11-10 20:38:53 +08:00
Ensteinjun
6b2db97347 fixbug 2023-11-10 15:44:07 +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
Yidadaa
d93f05f511 feat: close #3187 use CUSTOM_MODELS to control model list 2023-11-09 03:01:29 +08:00
Hk-Gosuto
4eeb21af7d Merge remote-tracking branch 'upstream/main' 2023-11-08 18:43:40 +08:00