Merge pull request #6 from SolarifyDev/add-deepseek-ome-metis-Authorization

Update deepseek.ts
This commit is contained in:
Ted 2025-02-22 13:36:42 +08:00 committed by GitHub
commit 6a6ed878dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,8 @@ async function request(req: NextRequest) {
headers: {
"Content-Type": "application/json",
Authorization: req.headers.get("Authorization") ?? "",
"OME-METIS-Authorization":
req.headers.get("OME-METIS-Authorization") || "",
},
method: req.method,
body: req.body,