when:
  path: /v1/responses
  method: POST
  query_param: []
  header:
  - name: accept
    value: '*/*'
  - name: content-type
    value: application/json
  body: '{"input":[{"content":"Use only the provided Rust Example contexts. Exactly one of these files is the correct answer: agent_with_loaders.rs, streaming.rs, tools.rs. Reply with exactly one of those file names and nothing else.","role":"system","type":"message"},{"content":[{"text":"<file id: static_doc_0>\nRust Example agent_with_loaders.rs:\n//! Loader fixture that intentionally mirrors the agent-with-loaders flow.\n\nuse rig::agent::AgentBuilder;\nuse rig::loaders::FileLoader;\n\nconst LOADERS_GLOB: &str = concat!(env!(\"CARGO_MANIFEST_DIR\"), \"/tests/data/loaders/*.rs\");\n\nfn build_agent() {\n    let _files = FileLoader::with_glob(LOADERS_GLOB)\n        .expect(\"fixture glob should parse\")\n        .read_with_path()\n        .ignore_errors();\n\n    let _agent = AgentBuilder::new(\"model\");\n}\n\n</file>\n","type":"input_text"},{"text":"<file id: static_doc_1>\nRust Example streaming.rs:\n//! Fixture file for a streaming-focused example.\n\nfn describe_streaming() -> &''static str {\n    \"This fixture describes streaming output.\"\n}\n\n</file>\n","type":"input_text"},{"text":"<file id: static_doc_2>\nRust Example tools.rs:\n//! Fixture file for a tools-focused example.\n\nfn describe_tools() -> &''static str {\n    \"This fixture describes tool use.\"\n}\n\n</file>\n","type":"input_text"}],"role":"user","type":"message"},{"content":"Which fixture file builds an agent from the loaders test fixtures? Answer with just the file name. Choose only from these exact file names: agent_with_loaders.rs, streaming.rs, tools.rs. Reply with just the exact file name.","role":"user","type":"message"}],"model":"grok-4-0709"}'
then:
  status: 200
  header:
  - name: content-type
    value: application/json
  body: '{"background":false,"completed_at":0,"created_at":0,"error":null,"frequency_penalty":0.0,"id":"resp_REDACTED_1","incomplete_details":null,"instructions":null,"max_output_tokens":null,"max_tool_calls":null,"metadata":{"system_fingerprint":"fp_REDACTED_1"},"model":"grok-4.3","object":"response","output":[{"id":"rs_REDACTED_1","status":"completed","summary":[{"text":"The question is: \"Which fixture file builds an agent from the loaders test fixtures? Answer with just the file name. Choose only from these exact file names: agent_with_loaders.rs, streaming.rs, tools...","type":"summary_text"}],"type":"reasoning"},{"content":[{"annotations":[],"logprobs":[],"text":"agent_with_loaders.rs","type":"output_text"}],"id":"msg_REDACTED_1","role":"assistant","status":"completed","type":"message"}],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"reasoning":{"effort":"low","summary":"detailed"},"safety_identifier":null,"service_tier":"default","status":"completed","store":true,"temperature":0.7,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":0.95,"truncation":"disabled","usage":{"context_details":{"input_tokens":441,"output_tokens":218},"cost_in_usd_ticks":9618500,"input_tokens":441,"input_tokens_details":{"cached_tokens":128},"num_server_side_tools_used":0,"num_sources_used":0,"output_tokens":218,"output_tokens_details":{"reasoning_tokens":213},"total_tokens":659},"user":null}'
