lloydzhou
147fc9a35a
fix ts type error
2024-07-09 15:10:23 +08:00
lloydzhou
93a03f8fe4
Merge remote-tracking branch 'origin/main' into feat-baidu
2024-07-09 15:06:10 +08:00
lloydzhou
fadd7f6eb4
try getAccessToken in app, fixbug to fetch in none stream mode
2024-07-09 14:50:40 +08:00
lloydzhou
71af2628eb
hotfix: old AZURE_URL config error: "DeploymentNotFound". #4945 #4930
2024-07-09 00:32:18 +08:00
Dogtiti
785d3748e1
feat: support baidu model
2024-07-06 13:05:09 +08:00
lloydzhou
6dc4844c12
using default azure api-version value
2024-07-06 00:05:59 +08:00
lloydzhou
183ad2a34b
add missing file
2024-07-05 20:57:55 +08:00
lloydzhou
d9758be3ae
fix ts
2024-07-05 20:20:21 +08:00
lloydzhou
6b1b530443
remove makeAzurePath
2024-07-05 20:15:56 +08:00
lloydzhou
1c20137b0e
support azure deployment name
2024-07-05 19:59:45 +08:00
lloydzhou
97aa72ec5b
hotfix ts
2024-07-04 08:36:25 +00:00
lloydzhou
aa08183439
hotfix
2024-07-04 16:03:35 +08:00
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
Fred
9fb8fbcc65
fix: validate the url to avoid SSRF
2024-06-24 14:31:50 +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
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
Wayland Zhan
c96e4b7966
feat: Support a way to define default model by adding DEFAULT_MODEL env.
2024-04-19 06:57:15 +00: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
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
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