diff --git a/docs/source/en/reference/agents.md b/docs/source/en/reference/agents.md index 802f19d8..9d2d803f 100644 --- a/docs/source/en/reference/agents.md +++ b/docs/source/en/reference/agents.md @@ -149,7 +149,7 @@ Here's how you can set it: ```py model = OpenAIServerModel( model_id="gpt-4o", - base_url="https://api.openai.com/v1", + api_base="https://api.openai.com/v1", api_key=os.environ["OPENAI_API_KEY"], ) model=LiteLLMModel("gpt-4o", api_key=os.environ["OPENAI_API_KEY"])