Skip to content

Grok: hosted-search blocks print as "Unsupported content type" in Claude Code #107

Description

@AlexanderKugel

Environment

claude-code-proxy v0.1.34
Claude Code 2.1.220, VS Code extension
Provider: grok, model grok-4.6

Problem

The Grok proxy sends a hosted search as two content blocks, server_tool_use and web_search_tool_result. The Claude Code VS Code extension can not draw these two block types. The extension prints an error line for each block.


Example 1 -- a web search

How to reproduce

  1. Point the Claude Code VS Code extension at the proxy. Use model grok-4.6.
  2. Send: search the web for the top three car rental companies in London

Observed

Unsupported content type: server_tool_use
Unsupported content type: web_search_tool_result

The extension prints two lines for each search. These errors are sometimes reported more than once. The search worked. The answer was correct. Only the display failed.

Expected

No error messages.


Note -- Codex provider possibly has the same fault

A captured Codex session sends the same two block types. This report covers the Grok side only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions