Fix : Claude OAuth
This commit is contained in:
parent
38ded5c62f
commit
07d4cdfa7e
7 changed files with 104 additions and 15 deletions
|
|
@ -140,6 +140,7 @@ async function passthrough(req, res, bodyBuffer) {
|
|||
async function intercept(req, res, bodyBuffer, mappedModel) {
|
||||
try {
|
||||
const body = JSON.parse(bodyBuffer.toString());
|
||||
console.log("🚀 ~ intercept ~ body:", body)
|
||||
body.model = mappedModel;
|
||||
|
||||
const response = await fetch(ROUTER_URL, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue