We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fc2ae4 commit 0121251Copy full SHA for 0121251
src/index.ts
@@ -460,7 +460,6 @@ export class AzureOpenAI extends OpenAI {
460
throw new Error('Expected request body to be an object');
461
}
462
const model = this._deployment || options.body['model'];
463
- delete options.body['model'];
464
if (model !== undefined && !this.baseURL.includes('/deployments')) {
465
options.path = `/deployments/${model}${options.path}`;
466
0 commit comments