Skip to content

Optimize parallel processing with queue-based workers and improve cod…#1

Open
maciejzukowski wants to merge 2 commits intomainfrom
optimize-mapping
Open

Optimize parallel processing with queue-based workers and improve cod…#1
maciejzukowski wants to merge 2 commits intomainfrom
optimize-mapping

Conversation

@maciejzukowski
Copy link

…e formatting

claude_response = bedrock.invoke_model(
modelId="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
claude_response = invoke_bedrock_with_backoff(
"us.anthropic.claude-sonnet-4-5-20250929-v1:0",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As models change very frequently, I'd recommend this be a constant variable at the top.


claude_response = bedrock.invoke_model(
modelId="us.anthropic.claude-sonnet-4-5-20250929-v1:0",
claude_response = invoke_bedrock_with_backoff(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use pydantic ai for all bedrock calls. You can just create another agent.

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