mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 14:33:41 +08:00
feat: support openai api proxy to denohub
This commit is contained in:
@@ -13,6 +13,7 @@ export async function POST(req: Request) {
|
|||||||
const openai = new OpenAIApi(
|
const openai = new OpenAIApi(
|
||||||
new Configuration({
|
new Configuration({
|
||||||
apiKey,
|
apiKey,
|
||||||
|
basePath: "https://closeai.deno.dev/v1",
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user