File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/strands/multiagent/a2a Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def __init__(
3131 agent : SAAgent ,
3232 * ,
3333 # AgentCard
34- host : str = "0 .0.0.0 " ,
34+ host : str = "127 .0.0.1 " ,
3535 port : int = 9000 ,
3636 http_url : str | None = None ,
3737 serve_at_root : bool = False ,
@@ -42,13 +42,12 @@ def __init__(
4242 queue_manager : QueueManager | None = None ,
4343 push_config_store : PushNotificationConfigStore | None = None ,
4444 push_sender : PushNotificationSender | None = None ,
45-
4645 ):
4746 """Initialize an A2A-compatible server from a Strands agent.
4847
4948 Args:
5049 agent: The Strands Agent to wrap with A2A compatibility.
51- host: The hostname or IP address to bind the A2A server to. Defaults to "0 .0.0.0 ".
50+ host: The hostname or IP address to bind the A2A server to. Defaults to "127 .0.0.1 ".
5251 port: The port to bind the A2A server to. Defaults to 9000.
5352 http_url: The public HTTP URL where this agent will be accessible. If provided,
5453 this overrides the generated URL from host/port and enables automatic
You can’t perform that action at this time.
0 commit comments