Skip to content

[Bug]: Antigravity search_web calls titled "Searched" are recorded as file_search instead of web_search #44150

Backlog

Description

@MohamedSayed0573

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Run T3 Code from current main (ba72661837) with the Antigravity provider enabled (agy 1.5.18).
  2. Start a thread using Antigravity (e.g., gemini-4-neon).
  3. Ask the agent to run a web search with search_web, for example:
    Use your search_web tool to search for "t3code pingdotgg" and reply with one short sentence summarizing what you found.
  4. Expand the turn's work log in the thread UI and inspect the recorded item in orchestration_v2_projection_turn_items.

Expected behavior

Antigravity search_web tool calls are recorded as web_search items (rendered with the web search icon, title Web search: <query>, and extracted citation URLs).

Actual behavior

When Antigravity executes search_web, the ACP tool_call / tool_call_update arrives with kind: "search", bare title "Searched" (or "Searching"), no locations, and rawInput containing { query, domain? }.

Because normalizeAntigravityToolCall in apps/server/src/provider/acp/AntigravityProtocol.ts does not normalize these calls to "Web search" and acpBackendWebSearch in packages/provider-acp/src/server/adapter.ts only matches titles like Web search, Search the web, or (Running )?web_search|search_web, the call falls through to file_search:

{
  "type": "file_search",
  "status": "completed",
  "title": "Searched t3code pingdotgg",
  "pattern": "t3code pingdotgg"
}

In the UI, it renders as a local file search (Searched t3code pingdotgg with the magnifying glass icon and no web search results/citations when expanded).

Impact

Minor bug or occasional failure

Version or commit

main @ ba72661837

Environment

Linux, T3 Code web UI (dev server on main @ ba72661837), Antigravity CLI (agy) 1.5.18, model gemini-4-neon

Screenshots, recordings, or supporting files

Antigravity search_web recorded and rendered as file_search on main

Fix PR

Fix opened in #41322.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions