diff --git a/articles/gpt-oss/run-vllm.md b/articles/gpt-oss/run-vllm.md index e534ae5302..d7614465fc 100644 --- a/articles/gpt-oss/run-vllm.md +++ b/articles/gpt-oss/run-vllm.md @@ -136,7 +136,7 @@ def get_weather(city: str): return f"The weather in {city} is sunny." -async def main(model: str, api_key: str): +async def main(): agent = Agent( name="Assistant", instructions="You only respond in haikus.", @@ -146,7 +146,7 @@ async def main(model: str, api_key: str): base_url="http://localhost:8000/v1", api_key="EMPTY", ), - ) + ), tools=[get_weather], )