We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6086c commit b063dfcCopy full SHA for b063dfc
src/google/adk/cli/fast_api.py
@@ -64,8 +64,7 @@ def get_fast_api_app(
64
allow_origins: Optional[list[str]] = None,
65
web: bool,
66
a2a: bool = False,
67
- host: str = "127.0.0.1",
68
- port: int = 8000,
+ base_url: str = "http://127.0.0.1:8000",
69
trace_to_cloud: bool = False,
70
reload_agents: bool = False,
71
lifespan: Optional[Lifespan[FastAPI]] = None,
@@ -352,7 +351,7 @@ async def _get_a2a_runner_async() -> Runner:
352
351
logger.info("Setting up A2A agent: %s", app_name)
353
354
try:
355
- a2a_rpc_path = f"http://{host}:{port}/a2a/{app_name}"
+ a2a_rpc_path = f"{base_url}/a2a/{app_name}"
356
357
agent_executor = A2aAgentExecutor(
358
runner=create_a2a_runner_loader(app_name),
0 commit comments