Skip to content

Simplified to direct z.enum() in createBooleanSchema#14

Open
Aadik1ng wants to merge 1 commit intofurey:mainfrom
Aadik1ng:gemini-fix
Open

Simplified to direct z.enum() in createBooleanSchema#14
Aadik1ng wants to merge 1 commit intofurey:mainfrom
Aadik1ng:gemini-fix

Conversation

@Aadik1ng
Copy link

@Aadik1ng Aadik1ng commented Jul 5, 2025

Removed .transform() - This was making it hard for Gemini CLI to understand the schema type
Removed .pipe() - This was creating complex schema chaining that confused the JSON schema generation
Simplified to direct z.enum() - Now Gemini CLI can clearly see this is a string type with only 'true' or 'false' values allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant