Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance: Ensure Bedrock Agents resolver works with Pydantic v2 #4196

Open
1 of 2 tasks
rubenfonseca opened this issue Apr 24, 2024 · 0 comments
Open
1 of 2 tasks
Labels
internal Maintenance changes v3 Features that will be included in Powertools v3.

Comments

@rubenfonseca
Copy link
Contributor

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

@rubenfonseca rubenfonseca added triage Pending triage from maintainers internal Maintenance changes v3 Features that will be included in Powertools v3. and removed triage Pending triage from maintainers labels Apr 24, 2024
@rubenfonseca rubenfonseca added this to the Powertools v3 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Maintenance changes v3 Features that will be included in Powertools v3.
Projects
Status: Backlog
Development

No branches or pull requests

1 participant