Skip to content

AI: Cant use ZED at all since Anthropic API Error Sting should match pattern all the time #40928

@PerkyZZ999

Description

@PerkyZZ999

Summary

When tryna use Agent Panel I get an error saying "Received an error from the Anthropic API: tools.0.custom.name: String should match pattern '^[a-zA-Z0-9_-]{1,128}$'".

Description

Steps to trigger the problem:

  1. Install Zed
  2. Open a project
  3. In the Agent discussion try sending a message ..

Expected Behavior: Agent replies correctly
Actual Behavior: Error saying "Received an error from the Anthropic API: tools.0.custom.name: String should match pattern '^[a-zA-Z0-9_-]{1,128}$'"

Model Provider Details

  • Provider: Anthropic via ZedPro
  • Model Name: Claude Sonnet 4.5 Thinking/Reasoning
  • Mode: Agent Panel
  • Other Details (MCPs, other settings, etc):
    Had some rules and MCPs but deleted all to try if the issue would resolve but still not resolved ...
Image

Zed Version and System Specs

Zed: v0.209.4 (Zed)
OS: Windows 10.0.26200
Memory: 31.9 GiB
Architecture: x86_64
GPU: Intel(R) Arc(TM) B580 Graphics || Intel Corporation || 32.0.101.8136

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresstaleLabel used by `stale` actionstate:needs infoIssue that needs more information from the user

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions