Skip to content

Conversation

@jsamuel1
Copy link
Contributor

Overview

This PR upgrades the default model configuration from Claude 3.7 Sonnet to Claude Sonnet 4.

Changes

  • Updated model_id from us.anthropic.claude-3-7-sonnet-20250219-v1:0 to us.anthropic.claude-sonnet-4-20250514-v1:0
  • Updated model references in:
    • .prompt file
    • README.md
    • src/strands_agents_builder/utils/model_utils.py
  • Adjusted max_tokens to 32768 for Sonnet 4 compatibility
  • Updated documentation to reflect latest model capabilities

Benefits

  • Enhanced reasoning capabilities
  • Improved performance
  • Access to latest Claude model features
  • Better tool execution and analysis

Testing

Tested with local configuration to ensure compatibility.

Type of Change

  • Feature enhancement
  • Bug fix
  • Breaking change
  • Documentation update

- Updated default model from claude-3-7-sonnet to claude-sonnet-4-20250514-v1:0
- Updated model_id in .prompt, README.md, and model_utils.py
- Adjusted max_tokens to 32768 for Sonnet 4 compatibility
- Updated documentation references to reflect latest model capabilities

This upgrade provides enhanced reasoning capabilities and performance improvements.
@jsamuel1 jsamuel1 requested a review from a team as a code owner May 25, 2025 00:15
@cagataycali cagataycali merged commit db179c6 into strands-agents:main May 25, 2025
awsarron pushed a commit to awsarron/agent-builder that referenced this pull request May 26, 2025
- Updated default model from claude-3-7-sonnet to claude-sonnet-4-20250514-v1:0
- Updated model_id in .prompt, README.md, and model_utils.py
- Adjusted max_tokens to 32768 for Sonnet 4 compatibility
- Updated documentation references to reflect latest model capabilities

This upgrade provides enhanced reasoning capabilities and performance improvements.
awsarron added a commit that referenced this pull request May 26, 2025
* docs(readme): add logo, title, badges, links to other repos (#13)

* feat: upgrade to Claude Sonnet 4 model (#14)

- Updated default model from claude-3-7-sonnet to claude-sonnet-4-20250514-v1:0
- Updated model_id in .prompt, README.md, and model_utils.py
- Adjusted max_tokens to 32768 for Sonnet 4 compatibility
- Updated documentation references to reflect latest model capabilities

This upgrade provides enhanced reasoning capabilities and performance improvements.

* feat: add missing tools to strands.py (#15)

Adds the following tools that were missing from the imports:

- cron: Crontab management and job scheduling
- current_time: Current time utilities
- file_read: File reading capabilities
- rich_interface: Rich console interface components

Also reorganizes the tools list alphabetically and removes
duplicate load_tool entry for better maintainability.

Note: Excludes memory tool to avoid bringing in a dependency on Bedrock Knowledgebases.

* Fix AttributeError: 'dict' object has no attribute 'merge' in BedrockModel (#11)

- Add type conversion for boto_client_config from dict to BotocoreConfig
- Import BotocoreConfig class to handle configuration parsing
- Fixes issue where JSON config parsing creates dict instead of BotocoreConfig object
- Resolves 'AttributeError: dict object has no attribute merge' during model initialization

* fix(readme): use logo that changes color automatically depending on user's color preference scheme (#16)

* feat(tools): add file_write, memory, slack, speak, stop + remove rich_interface (#19)

* feat(tools): add file_write, memory, slack, speak, stop + remove rich_interface

* docs(readme): update list of tools + remove nested agent capabilities section

* fix: correctly handle keyboard interrupts + stop spinners on error (#12)

* v0.1.2

---------

Co-authored-by: Josh Samuel <3156090+jsamuel1@users.noreply.github.com>
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