Skip to content

Conversation

@Vidit-Ostwal
Copy link
Contributor

@Vidit-Ostwal Vidit-Ostwal commented Dec 9, 2025

Fixes #4046


Note

Ensure Bedrock completion treats stop_sequences=None distinctly and returns [] in getter, avoiding unintended stopSequences in requests.

  • Bedrock provider (crewai/llms/providers/bedrock/completion.py):
    • Stop sequences handling: stop_sequences no longer defaults to [] on init; stop getter now returns [] when None and list otherwise, preventing unintended stopSequences being sent to Bedrock.

Written by Cursor Bugbot for commit f942012. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 28

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

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.

[BUG] CrewAI only supports certain Bedrock models

1 participant