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
docs(response_api.md): update docs to use new o1-pro model example
Krrish Dholakiad9abbdc6b53a
diff --git a/docs/my-website/docs/response_api.md b/docs/my-website/docs/response_api.mdindex 0604a42586a..1ab9865504a 100644--- a/docs/my-website/docs/response_api.md+++ b/docs/my-website/docs/response_api.md@@ -29,7 +29,7 @@ import litellm# Non-streaming responseresponse = litellm.responses(- model="gpt-4o",+ model="o1-pro",input="Tell me a three sentence bedtime story about a unicorn.",max_output_tokens=100)@@ -43,7 +43,7 @@ import litellm# Streaming responseresponse = litellm.responses(- model="gpt-4o",+ model="o1-pro",input="Tell me a three sentence bedtime story about a unicorn.",stream=True)@@ -58,9 +58,9 @@ for event in response:First, add this to your litellm proxy config.yaml:```yamlmodel_list:- - model_name: gpt-4o+ - model_name: o1-prolitellm_params:- model: openai/gpt-4o+ model: openai/o1-proapi_key: os.environ/OPENAI_API_KEY```@@ -85,7 +85,7 @@ client = OpenAI(# Non-streaming responseresponse = client.responses.create(- model="gpt-4o",+ model="o1-pro",input="Tell me a three sentence bedtime story about a unicorn.")@@ -104,7 +104,7 @@ client = OpenAI(# Streaming responseresponse = client.responses.create(- model="gpt-4o",+ model="o1-pro",input="Tell me a three sentence bedtime story about a unicorn.",stream=True)