Skip to content

Conversation

@waleedkadous
Copy link
Collaborator

Summary

Updates AnsariClaude to use the latest Sonnet 4.5 model (claude-sonnet-4-5-20250929) instead of Sonnet 4 (claude-sonnet-4-20250514).

Changes

  • Updated ANTHROPIC_MODEL configuration in config.py to use claude-sonnet-4-5-20250929
  • Added comprehensive test suite in tests/unit/test_ansari_claude_model_version.py to verify:
    • AnsariClaude instance uses the correct model version
    • The correct model is sent to the Anthropic API during requests
    • Default Settings configuration properly sets Sonnet 4.5

Test Plan

  • All 3 new tests pass
  • Code passes ruff check
  • Code formatted with ruff format

- Update ANTHROPIC_MODEL to claude-sonnet-4-5-20250929
- Add comprehensive tests to verify model version configuration
- Test that correct model is sent to Anthropic API
- Test default Settings configuration uses Sonnet 4.5
@amrmelsayed amrmelsayed merged commit 10321f8 into develop Oct 6, 2025
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.

3 participants