Skip to content

AI: Copilot with Claude 4 errors on any chatting #32970

Closed
@0x00ahmad

Description

@0x00ahmad

Summary

AI Assistant response stops/crashes halfway in generating a response.

Description

Steps to trigger the problem:

  1. Open AI assistant chat window, choose Claude Sonnet 4 (Copilot chat) specifically
  2. give it a couple files/folders
  3. and hit enter

Expected Behavior:
A full proper response is generated.

Actual Behavior:
It throws a error modal:
"""
Error interacting with language model
The final message must be from the user. To provide a system prompt, you must provide the system prompt followed by a user prompt.
"""
– Midway of response.

Model Provider Details

  • Provider: Copilot Chat
  • Model Name: Claude Sonnet 4
  • Mode: Agent Panel, in Ask mode
  • Other Details: I just use context7, but I didn't use anything beyond what I described above

Even though The image below shows where it stopped for me,
Image

Zed Version and System Specs

Zed: v0.191.4 (Zed)
OS: macOS 15.5.0
Memory: 48 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    aiImprovement related to Assistant, Copilot, or other AI features

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions