From 21ce5b4d3b092e84b99d85645f815e3fb7fda504 Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Thu, 30 Oct 2025 12:40:31 -0400 Subject: [PATCH] rename api_url to api_base --- libs/python/agent/agent/cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/python/agent/agent/cli.py b/libs/python/agent/agent/cli.py index 49793ba6..9a98c143 100644 --- a/libs/python/agent/agent/cli.py +++ b/libs/python/agent/agent/cli.py @@ -305,8 +305,8 @@ Examples: help="API key override for the model provider (passed to ComputerAgent)", ) parser.add_argument( - "--api-url", - dest="api_url", + "--api-base", + dest="api_base", type=str, help="API base URL override for the model provider (passed to ComputerAgent)", ) @@ -397,8 +397,8 @@ Examples: # Thread API credentials to agent if provided if args.api_key: agent_kwargs["api_key"] = args.api_key - if args.api_url: - agent_kwargs["api_url"] = args.api_url + if args.api_base: + agent_kwargs["api_base"] = args.api_base if args.images > 0: agent_kwargs["only_n_most_recent_images"] = args.images