adding other log
This commit is contained in:
@ -42,6 +42,7 @@ app.post("/api/generate/chat/completions", validateApiKey, async (req, res) => {
|
|||||||
"http://localhost:11434/api/generate",
|
"http://localhost:11434/api/generate",
|
||||||
req.body,
|
req.body,
|
||||||
);
|
);
|
||||||
|
console.log("Response: ", response);
|
||||||
|
|
||||||
// Send the response from localhost:11434 back to the client
|
// Send the response from localhost:11434 back to the client
|
||||||
res.status(200).json(response.data);
|
res.status(200).json(response.data);
|
||||||
|
Reference in New Issue
Block a user