MCPcopy
hub / github.com/openai/openai-python / stream

Method stream

src/openai/resources/responses/responses.py:1006–1018  ·  view source on GitHub ↗
(
        self,
        *,
        response_id: str,
        text_format: type[TextFormatT] | Omit = omit,
        starting_after: int | Omit = omit,
        tools: Iterable[ParseableToolParam] | Omit = omit,
        # The extra values given here take precedence over values defined on the client or passed to this method.
        extra_headers: Headers | None = None,
        extra_query: Query | None = None,
        extra_body: Body | None = None,
        timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
    )

Source from the content-addressed store, hash-verified

1004
1005 @overload
1006 def stream(
1007 self,
1008 *,
1009 response_id: str,
1010 text_format: type[TextFormatT] | Omit = omit,
1011 starting_after: int | Omit = omit,
1012 tools: Iterable[ParseableToolParam] | Omit = omit,
1013 # The extra values given here take precedence over values defined on the client or passed to this method.
1014 extra_headers: Headers | None = None,
1015 extra_query: Query | None = None,
1016 extra_body: Body | None = None,
1017 timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1018 ) -> ResponseStreamManager[TextFormatT]: ...
1019
1020 @overload
1021 def stream(

Callers

nothing calls this directly

Calls 5

retrieveMethod · 0.95
is_givenFunction · 0.85
_make_toolsFunction · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected