You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we prepare to drop Pydantic v2, we need to ensure that the Bedrock Agents functionality still works. Bedrock Agents only accepts OpenAPI version 3.0, whereas Pydantic v2 generates schemas that are valid for OpenAPI 3.1.
Which area does this relate to?
Event Handler - REST API
Solution
Research shows that we can take an OpenAPI 3.1 schema and make it compatible with Bedrock Agents by doing some simple changes, like removing new fields and changing the schema version.
After implementing those we need to do extensive testing to ensure the feature is not broken when using Agents.
Why is this needed?
As we prepare to drop Pydantic v2, we need to ensure that the Bedrock Agents functionality still works. Bedrock Agents only accepts OpenAPI version 3.0, whereas Pydantic v2 generates schemas that are valid for OpenAPI 3.1.
Which area does this relate to?
Event Handler - REST API
Solution
Research shows that we can take an OpenAPI 3.1 schema and make it compatible with Bedrock Agents by doing some simple changes, like removing new fields and changing the schema version.
After implementing those we need to do extensive testing to ensure the feature is not broken when using Agents.
Acknowledgment
The text was updated successfully, but these errors were encountered: