Skip to content

[BUG] outdated Claude model ID #202

@antigenius0910

Description

@antigenius0910

Describe the bug
The application fails to generate communication analysis due to an outdated Claude model ID. The error
"model: claude-3-5-sonnet-20241022" with a 404 "not_found_error" is thrown when attempting to use
Anthropic's Claude for analysis features.

To Reproduce
Steps to reproduce the behavior:

  1. Start the application with npm start
  2. Attempt to use any feature that generates communication analysis with the Anthropic provider
  3. Observe the console/log output
  4. See error: ❌ Error during analysis generation: 404 {"type":"error","error":{"type":"not_found_error","message":"model: claude-3-5-sonnet-20241022"},"request_id":"req_011CV4L7YXscLtxoGzHiGZHF"}

Expected behavior
The application should successfully generate communication analysis using the current Claude model without
errors. Communication analysis should be visible in the UI.

Screenshots
Error log output:
❌ Error during analysis generation: 404
{"type":"error","error":{"type":"not_found_error","message":"model:
claude-3-5-sonnet-20241022"},"request_id":"req_011CV4L7YXscLtxoGzHiGZHF"}

Environment (please complete the following information):

  • OS: macOS (Darwin 25.1.0)
  • App Version: [from package.json]

Additional context
The issue is caused by using the outdated model ID claude-3-5-sonnet-20241022 which no longer exists in
Anthropic's API. The model ID should be updated to the current version claude-sonnet-4-5 as per the
latest Anthropic API documentation.

Affected Files:

  • src/features/common/ai/factory.js (line 56)
  • src/features/common/ai/providers/anthropic.js (lines 71 and 198)

Fix:
Update all references from claude-3-5-sonnet-20241022 to claude-sonnet-4-5 in the affected files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions