Skip to content

Re-record AI-generated cassettes for OpenAI Responses retrieve tests #341

Description

@JacksonWeber

The Responses.retrieve / AsyncResponses.retrieve tests added in #184 are backed by cassettes that were synthesized without provider access, so they carry the # TODO: this is generated by AI, re-record marker required by CONTRIBUTING.md.

Affected cassettes in instrumentation/opentelemetry-instrumentation-genai-openai/tests/cassettes/:

  • test_responses_retrieve_basic[content_mode0].yaml
  • test_responses_retrieve_captures_content[content_mode0].yaml
  • test_responses_retrieve_api_error[content_mode0].yaml
  • test_async_responses_retrieve_basic[content_mode0].yaml
  • test_async_responses_retrieve_captures_content[content_mode0].yaml
  • test_async_responses_retrieve_api_error[content_mode0].yaml

To resolve, per CONTRIBUTING.md: delete the cassettes, export a real OPENAI_API_KEY, rerun the retrieve tests so pytest-vcr records the live interactions, confirm vcr_config() scrubbed the auth/org/project headers, and remove the markers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    New issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions