Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/bedrock_llm/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ async def _invoke_model_async(
accept="application/json",
contentType="application/json",
body=json.dumps(request_body),
performanceConfigLatency = "optimized"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Remove spaces around = in keyword argument to match PEP 8 style. Also, this parameter should be aligned with the others above it.

Suggested change
performanceConfigLatency = "optimized"
performanceConfigLatency="optimized"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Consider adding the same performance optimization to the sync client's _invoke_model_sync method for consistency. If there's a reason why it should only be applied to async calls, please document this in a comment.

)

async def close(self):
Expand Down