mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
feat: support openai api proxy to denohub
This commit is contained in:
parent
7f3cbaa064
commit
e925b0ff4a
@ -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",
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user