Skip to content

Release v0.7.5: Google AI AnyOf Compatibility

Choose a tag to compare

@jwesleye jwesleye released this 27 Jun 19:33
· 146 commits to main since this release

Summary

• Removed all Union types from public function parameters to fix Google AI AnyOf compatibility error
• Simplified function signatures for better agent framework integration
• Updated JSON processing to ensure consistent dict return types

Changes

• Union Type Removal: Eliminated all Union types that caused JSON Schema AnyOf constructs
• Simplified Validation: Updated validate_range_simple to require explicit min/max parameters
• Consistent Returns: JSON deserialize now always returns dict for agent compatibility
• Test Updates: Updated all test cases to match new simplified function signatures

Compatibility

✅ Google ADK Function Tools - Full compatibility achieved
✅ All existing string and list return types maintained
✅ 100% test coverage maintained

🤖 Generated with Claude Code