Skip to content

Add tests for Computer Use tool when API becomes available #306

Description

@evansenter

Summary

The with_computer_use() and with_computer_use_excluding() builder methods exist but have no integration tests.

Current State

  • with_computer_use() - implemented in src/request_builder/mod.rs:1443
  • with_computer_use_excluding() - implemented in src/request_builder/mod.rs:1493
  • Wire format marked as UNVERIFIED in docs/ENUM_WIRE_FORMATS.md
  • No tests exist

Why Blocked

Computer Use has limited API access and the wire format is unverified. We need:

  1. API access to test against
  2. Verification of the wire format with LOUD_WIRE=1

When to Unblock

  • When Google makes Computer Use generally available
  • When we can verify the wire format

Action Items

  • Verify wire format with LOUD_WIRE=1 when available
  • Add unit tests for builder methods
  • Add integration test demonstrating usage
  • Update docs/ENUM_WIRE_FORMATS.md with verified format

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked on external dependencyenhancementNew feature or requestpriority:lowLow prioritytestingTest infrastructure and coveragetoolsBuilt-in tools (search, code exec, URL context, MCP)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions