langchain_community.chat_models.minimax.aconnect_httpx_sseΒΆ

langchain_community.chat_models.minimax.aconnect_httpx_sse(client: Any, method: str, url: str, **kwargs: Any) AsyncIterator[source]ΒΆ

Async context manager for connecting to an SSE stream.

Parameters
  • client (Any) – The httpx client.

  • method (str) – The HTTP method.

  • url (str) – The URL to connect to.

  • kwargs (Any) – Additional keyword arguments to pass to the client.

Yields

An EventSource object.

Return type

AsyncIterator