mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +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(
|
||||
new Configuration({
|
||||
apiKey,
|
||||
basePath: "https://closeai.deno.dev/v1",
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user