style: apply project formatting
This commit is contained in:
parent
375c629f28
commit
a56435e56c
@ -199,11 +199,11 @@ function cleanSchemaForGeminiWithDefs(
|
||||
...(cleaned as Record<string, unknown>),
|
||||
};
|
||||
// Preserve all sibling properties except "$ref"
|
||||
for (const [key, value] of Object.entries(obj)) {
|
||||
if (key !== "$ref" && value !== undefined) {
|
||||
result[key] = value;
|
||||
}
|
||||
}
|
||||
for (const [key, value] of Object.entries(obj)) {
|
||||
if (key !== "$ref" && value !== undefined) {
|
||||
result[key] = value;
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user