The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
add aysnc aresponses
Ishaan Jaff8c4331638efe
diff --git a/litellm/responses/main.py b/litellm/responses/main.pyindex 2d66f8e616b..96a99615c21 100644--- a/litellm/responses/main.py+++ b/litellm/responses/main.py@@ -12,7 +12,32 @@ from litellm.types.llms.openai import ()-async def aresponses():+async def aresponses(+ input: Union[str, ResponseInputParam],+ model: str,+ include: Optional[List[ResponseIncludable]] = None,+ instructions: Optional[str] = None,+ max_output_tokens: Optional[int] = None,+ metadata: Optional[Dict[str, Any]] = None,+ parallel_tool_calls: Optional[bool] = None,+ previous_response_id: Optional[str] = None,+ reasoning: Optional[Reasoning] = None,+ store: Optional[bool] = None,+ stream: Optional[bool] = None,+ temperature: Optional[float] = None,+ text: Optional[ResponseTextConfigParam] = None,+ tool_choice: Optional[ToolChoice] = None,+ tools: Optional[Iterable[ToolParam]] = None,+ top_p: Optional[float] = None,+ truncation: Optional[Literal["auto", "disabled"]] = None,+ user: Optional[str] = None,+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.+ # The extra values given here take precedence over values defined on the client or passed to this method.+ extra_headers: Optional[Dict[str, Any]] = None,+ extra_query: Optional[Dict[str, Any]] = None,+ extra_body: Optional[Dict[str, Any]] = None,+ timeout: Optional[Union[float, httpx.Timeout]] = None,+):pass