Skip to content

Commit b0673a9

Browse files
committed
feat: Add support for responses API in Azure Compatible Provider.
1 parent 9b8f3b9 commit b0673a9

File tree

3 files changed

+766
-48
lines changed

3 files changed

+766
-48
lines changed

packages/types/src/provider-settings.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ const openAiSchema = baseProviderSettingsSchema.extend({
179179
openAiStreamingEnabled: z.boolean().optional(),
180180
openAiHostHeader: z.string().optional(), // Keep temporarily for backward compatibility during migration.
181181
openAiHeaders: z.record(z.string(), z.string()).optional(),
182+
openAiApiFlavor: z.union([z.literal("auto"), z.literal("responses"), z.literal("chat")]).optional(),
182183
})
183184

184185
const ollamaSchema = baseProviderSettingsSchema.extend({

0 commit comments

Comments
 (0)