🖨️ fix: Use Azure Serverless API Version for Responses API (#8316)

This commit is contained in:
Danny Avila
2025-07-08 21:07:52 -04:00
committed by GitHub
parent 7e37211458
commit 4918899c8d

View File

@@ -143,7 +143,7 @@ export function getOpenAIConfig(
};
configOptions.defaultQuery = {
...configOptions.defaultQuery,
'api-version': 'preview',
'api-version': configOptions.defaultQuery?.['api-version'] ?? 'preview',
};
};