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 de327f6 commit f33f176Copy full SHA for f33f176
src/providers/google-vertex-ai/utils.ts
@@ -232,6 +232,7 @@ export const recursivelyDeleteUnsupportedParameters = (obj: any) => {
232
if (typeof obj !== 'object' || obj === null || Array.isArray(obj)) return;
233
delete obj.additional_properties;
234
delete obj.additionalProperties;
235
+ delete obj['$schema'];
236
for (const key in obj) {
237
if (obj[key] !== null && typeof obj[key] === 'object') {
238
recursivelyDeleteUnsupportedParameters(obj[key]);
0 commit comments