Skip to content

openai: Instrument LegacyAPIResponse.parse #83

Description

@SrdjanLL

Based on feedback from #82, follow up and a better long term solution is to add instrumentation support for the LegacyAPIResponse.parse method, instead of instrument the parse method on the StreamWrapper itself.

This will avoid returning the wrapper for the with_raw_response API calls and aligns more with the flow within the library itself and reduces abstraction leakage on the instrumented StreamWrapper.

Acceptance Criteria:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions