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
butterfly
5446d8d4a2
feat: fix illegal exports in app/api/anthropic/[...path]/route.ts
2024-04-08 13:59:55 +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
DeanYao
8ef77f50c3
Merge branch 'main' into serverrside
2024-03-28 11:20:52 +08:00
Klaas Reineke
20c81d0148
Fixing manual merge
2024-03-25 18:16:20 +01:00
Klaas Reineke
f1526ebf65
Merge remote-tracking branch 'upstream/main' into klaas20240303
2024-03-25 15:56:20 +01:00
fred-bf
e8d76a513d
patch: disable webdav redirect
2024-03-24 14:15:04 +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
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
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
Yasin
5a7b9abe33
Fix: Routes /api/cors/[...path] was not configured to run with the Edge Runtime
2024-01-08 18:43:31 +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
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
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
GH Action - Upstream Sync
76df875392
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2023-11-28 00:40:02 +00: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
DirkSchlossmacher
948f11b112
Merge https://github.com/Yidadaa/ChatGPT-Next-Web
2023-11-17 14:38:36 +01:00
DirkSchlossmacher
855cc6879d
(!apiKey || !!serverConfig.hideUserApiKey) {
2023-11-17 11:44:28 +01:00
DirkSchlossmacher
d94205e967
api key
2023-11-16 11:11:53 +01:00
Eric-2369
74eb42c111
config: exclude hkg1 from the deployment regions of the edge function
2023-11-16 11:33:10 +08:00
GH Action - Upstream Sync
539d5368bc
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2023-11-16 00:56:56 +00:00
Yidadaa
9876a1aeca
fix : #3275 refuse on server side if hide user api key
2023-11-16 00:53:11 +08:00
GH Action - Upstream Sync
7974974fbf
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
2023-11-12 00:58:29 +00:00
Yidadaa
a5a1f2e8ad
feat: CUSTOM_MODELS support mapper
2023-11-12 00:46:21 +08:00
DirkSchlossmacher
945160a66f
Merge remote-tracking branch 'upstream/main'
2023-11-10 15:29:44 +01: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
DirkSchlossmacher
6e7cede1a0
Squashed commit of the following:
...
commit e6b72ac1ff
Author: Yifei Zhang <yidadaa@qq.com >
Date: Fri Nov 10 02:59:47 2023 +0800
Update README.md
commit 8032e6d68d
Author: Yifei Zhang <yidadaa@qq.com >
Date: Fri Nov 10 02:59:30 2023 +0800
Update README.md
commit c7e0a6f37f
Author: Yidadaa <yidadaa@qq.com >
Date: Fri Nov 10 02:57:40 2023 +0800
doc: update azure env vars
commit 1141cd2e6e
Merge: fd2f441 c9dd953
Author: Yifei Zhang <yidadaa@qq.com >
Date: Fri Nov 10 02:55:12 2023 +0800
Merge pull request #3206 from Yidadaa/azure
commit c9dd953817
Author: Yidadaa <yidadaa@qq.com >
Date: Fri Nov 10 02:50:50 2023 +0800
fixup
commit b7ffca031e
Author: Yidadaa <yidadaa@qq.com >
Date: Fri Nov 10 02:43:30 2023 +0800
feat: close #935 add azure support
commit fd2f441e02
Author: Yifei Zhang <yidadaa@qq.com >
Date: Thu Nov 9 20:45:25 2023 +0800
feat: wont send max_tokens
2023-11-10 03:06:59 +01:00