Skip to content

Commit 8639be0

Browse files
committed
Fix google provider support
1 parent b0713a8 commit 8639be0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "anyclaude",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"author": {
55
"name": "coder",
66
"email": "[email protected]",

src/json-schema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export function providerizeSchema(
2121
if (typeof property === "object" && property !== null) {
2222
let processedProperty = property as JSONSchema7;
2323

24-
// Remove uri format for OpenAI
25-
if (provider === "openai" && processedProperty.format === "uri") {
24+
// Remove uri format for OpenAI and Google
25+
if ((provider === "openai" || provider === "google") && processedProperty.format === "uri") {
2626
processedProperty = { ...processedProperty };
2727
delete processedProperty.format;
2828
}

0 commit comments

Comments
 (0)