Skip to content

openai: make the instrument fixture explicit #55

@xrmx

Description

@xrmx

Remove using autouse for the instrument so that we can instead introduce one with OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT set to true and explicitly use them in the tests instead of doing it manually.

This will let use remove the followup uninstrument / instrument calls in some tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions