test_case_id: "embed_ac_specific_version_001"
description: "Tests «artifact_content:versioned.txt:0>>>format:text» for a specific version."
tags: ["all", "common", "embeds"]
skip_intermediate_events: true

setup_artifacts:
  - filename: "versioned.txt"
    mime_type: "text/plain"
    content: "Version 0 of file."
  - filename: "versioned.txt"
    mime_type: "text/plain"
    content: "Version 1 of file (latest)."
gateway_input:
  target_agent_name: "TestAgent"
  user_identity: "embed_late_tester@example.com"
  parts: [{type: "text", text: "Get version 0 of versioned.txt"}]
llm_interactions:
  - static_response:
      choices: [message: {role: "assistant", content: "Version 0: «artifact_content:versioned.txt:0>>>format:text»"}]
expected_gateway_output:
  - type: "final_response"
    kind: task
    id: '*'
    contextId: session_embed_ac_specific_version_001
    status:
      state: completed
      message:
        kind: message
        messageId: '*'
        role: agent
        parts:
          - type: "text"
            text_contains:
              - "Version 0: Version 0 of file."
