Skip to content

Conversation

@pragyan-amp
Copy link
Contributor

Fixes tool calling issues with AWS Bedrock by addressing three schema incompatibilities:

  1. Remove empty required arrays - AWS Bedrock rejects tool schemas with required: []
  2. Strip unsupported JSON Schema keywords - Remove default, minimum, maximum (Bedrock only supports: type, properties, required, items, enum, description)
  3. Standardize tool names to underscores - Amazon Nova Pro does not support hyphens in tool names

Also upgrades all dependencies to latest versions (OpenAI 1.76.0 → 2.7.1, Databricks SDK 0.50.0 → 0.73.0, etc.)

Testing

  • ✅ All 623 unit tests passing
  • ✅ Verified with real AWS Bedrock API calls
  • ✅ Tool calling now works correctly with Amazon Nova Pro

Commits

  • fix: AWS Bedrock tool calling compatibility
  • refactor: standardize command names to use underscores
  • chore: upgrade dependencies to latest versions

@pragyan-amp pragyan-amp marked this pull request as ready for review November 7, 2025 03:28
@pragyan-amp pragyan-amp merged commit e790e48 into main Nov 7, 2025
2 checks passed
@pragyan-amp pragyan-amp deleted the fix/aws-bedrock-tool-calling branch November 7, 2025 04:00
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.

2 participants