feat: add Azure OpenAI provider support
This commit is contained in:
1 parent
5abc9e5c74
commit
65f11a603e
9 files changed
+236
-6
No files matched your search
@@ -116,7 +116,7 @@ export async function POST(request) {
|
||||
return NextResponse.json({ error: "Name is required" }, { status: 400 });
|
||||
}
|
||||
|
||||
let providerSpecificData = null;
|
||||
let providerSpecificData = body.providerSpecificData || null;
|
||||
|
||||
if (isOpenAICompatibleProvider(provider)) {
|
||||
const node = await getProviderNodeById(provider);
|
||||
|
||||
Reference in new issue
Block a user