From 9e9de86961f7ea6a82d6ef74ed8416f688d0c35f Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Wed, 4 Mar 2026 15:40:01 -0800 Subject: [PATCH] replace host.docker.internal with localhost in configs and docs --- cli/planoai/templates/coding_agent_routing.yaml | 2 +- demos/advanced/multi_turn_rag/config.yaml | 2 +- .../agent_orchestration/travel_agents/config.yaml | 4 ++-- demos/filter_chains/http_filter/README.md | 6 +++--- demos/filter_chains/mcp_filter/README.md | 6 +++--- demos/filter_chains/mcp_filter/config.yaml | 8 ++++---- demos/getting_started/llm_gateway/config.yaml | 2 +- demos/getting_started/weather_forecast/config.yaml | 2 +- demos/integrations/ollama/config.yaml | 2 +- demos/llm_routing/claude_code_router/config.yaml | 2 +- .../model_alias_routing/config_with_aliases.yaml | 2 +- .../plano_config_local.yaml | 2 +- .../includes/agent/function-calling-agent.yaml | 2 +- .../concepts/llm_providers/model_aliases.rst | 2 +- .../concepts/llm_providers/supported_providers.rst | 4 ++-- docs/source/get_started/quickstart.rst | 4 ++-- docs/source/guides/observability/monitoring.rst | 2 +- .../resources/includes/agents/agents_config.yaml | 4 ++-- .../includes/plano_config_agents_filters.yaml | 6 +++--- .../includes/plano_config_full_reference.yaml | 6 +++--- .../plano_config_full_reference_rendered.yaml | 14 +++++++------- 21 files changed, 42 insertions(+), 42 deletions(-) diff --git a/cli/planoai/templates/coding_agent_routing.yaml b/cli/planoai/templates/coding_agent_routing.yaml index b0e40000..b99994c9 100644 --- a/cli/planoai/templates/coding_agent_routing.yaml +++ b/cli/planoai/templates/coding_agent_routing.yaml @@ -23,7 +23,7 @@ model_providers: # Ollama Models - model: ollama/llama3.1 - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 # Model aliases - friendly names that map to actual provider names diff --git a/demos/advanced/multi_turn_rag/config.yaml b/demos/advanced/multi_turn_rag/config.yaml index 2c677eec..22e84015 100644 --- a/demos/advanced/multi_turn_rag/config.yaml +++ b/demos/advanced/multi_turn_rag/config.yaml @@ -7,7 +7,7 @@ listeners: endpoints: rag_energy_source_agent: - endpoint: host.docker.internal:18083 + endpoint: localhost:18083 connect_timeout: 0.005s model_providers: diff --git a/demos/agent_orchestration/travel_agents/config.yaml b/demos/agent_orchestration/travel_agents/config.yaml index 911baf89..45415795 100644 --- a/demos/agent_orchestration/travel_agents/config.yaml +++ b/demos/agent_orchestration/travel_agents/config.yaml @@ -2,9 +2,9 @@ version: v0.3.0 agents: - id: weather_agent - url: http://host.docker.internal:10510 + url: http://localhost:10510 - id: flight_agent - url: http://host.docker.internal:10520 + url: http://localhost:10520 model_providers: - model: openai/gpt-5.2 diff --git a/demos/filter_chains/http_filter/README.md b/demos/filter_chains/http_filter/README.md index 60ac8573..5e675113 100644 --- a/demos/filter_chains/http_filter/README.md +++ b/demos/filter_chains/http_filter/README.md @@ -74,16 +74,16 @@ The `config.yaml` defines how agents are connected: ```yaml filters: - id: input_guards - url: http://host.docker.internal:10500 + url: http://localhost:10500 # type: mcp (default) # tool: input_guards (default - same as filter id) - id: query_rewriter - url: http://host.docker.internal:10501 + url: http://localhost:10501 # type: mcp (default) - id: context_builder - url: http://host.docker.internal:10502 + url: http://localhost:10502 ``` ## How It Works diff --git a/demos/filter_chains/mcp_filter/README.md b/demos/filter_chains/mcp_filter/README.md index 60ac8573..5e675113 100644 --- a/demos/filter_chains/mcp_filter/README.md +++ b/demos/filter_chains/mcp_filter/README.md @@ -74,16 +74,16 @@ The `config.yaml` defines how agents are connected: ```yaml filters: - id: input_guards - url: http://host.docker.internal:10500 + url: http://localhost:10500 # type: mcp (default) # tool: input_guards (default - same as filter id) - id: query_rewriter - url: http://host.docker.internal:10501 + url: http://localhost:10501 # type: mcp (default) - id: context_builder - url: http://host.docker.internal:10502 + url: http://localhost:10502 ``` ## How It Works diff --git a/demos/filter_chains/mcp_filter/config.yaml b/demos/filter_chains/mcp_filter/config.yaml index 0b2b58a6..e07a49dc 100644 --- a/demos/filter_chains/mcp_filter/config.yaml +++ b/demos/filter_chains/mcp_filter/config.yaml @@ -2,21 +2,21 @@ version: v0.3.0 agents: - id: rag_agent - url: http://host.docker.internal:10505 + url: http://localhost:10505 filters: - id: input_guards - url: http://host.docker.internal:10500 + url: http://localhost:10500 # type: mcp (default) # transport: streamable-http (default) # tool: input_guards (default - same as filter id) - id: query_rewriter - url: http://host.docker.internal:10501 + url: http://localhost:10501 # type: mcp (default) # transport: streamable-http (default) # tool: query_rewriter (default - same as filter id) - id: context_builder - url: http://host.docker.internal:10502 + url: http://localhost:10502 model_providers: - model: openai/gpt-4o-mini diff --git a/demos/getting_started/llm_gateway/config.yaml b/demos/getting_started/llm_gateway/config.yaml index 92769648..d18f8c0f 100644 --- a/demos/getting_started/llm_gateway/config.yaml +++ b/demos/getting_started/llm_gateway/config.yaml @@ -44,7 +44,7 @@ model_providers: access_key: $TOGETHER_API_KEY - model: custom/test-model - base_url: http://host.docker.internal:11223 + base_url: http://localhost:11223 provider_interface: openai tracing: diff --git a/demos/getting_started/weather_forecast/config.yaml b/demos/getting_started/weather_forecast/config.yaml index 69451552..65048912 100644 --- a/demos/getting_started/weather_forecast/config.yaml +++ b/demos/getting_started/weather_forecast/config.yaml @@ -11,7 +11,7 @@ listeners: endpoints: weather_forecast_service: - endpoint: host.docker.internal:18083 + endpoint: localhost:18083 connect_timeout: 0.005s overrides: diff --git a/demos/integrations/ollama/config.yaml b/demos/integrations/ollama/config.yaml index c86fe002..2786ed97 100644 --- a/demos/integrations/ollama/config.yaml +++ b/demos/integrations/ollama/config.yaml @@ -9,7 +9,7 @@ model_providers: - model: my_llm_provider/llama3.2 provider_interface: openai - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 default: true system_prompt: | diff --git a/demos/llm_routing/claude_code_router/config.yaml b/demos/llm_routing/claude_code_router/config.yaml index be763325..e72aa73a 100644 --- a/demos/llm_routing/claude_code_router/config.yaml +++ b/demos/llm_routing/claude_code_router/config.yaml @@ -28,7 +28,7 @@ model_providers: # Ollama Models - model: ollama/llama3.1 - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 # Model aliases - friendly names that map to actual provider names diff --git a/demos/llm_routing/model_alias_routing/config_with_aliases.yaml b/demos/llm_routing/model_alias_routing/config_with_aliases.yaml index 53b679ae..f46359cc 100644 --- a/demos/llm_routing/model_alias_routing/config_with_aliases.yaml +++ b/demos/llm_routing/model_alias_routing/config_with_aliases.yaml @@ -49,7 +49,7 @@ model_providers: # Ollama Models - model: ollama/llama3.1 - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 # Grok (xAI) Models - model: xai/grok-4-0709 diff --git a/demos/llm_routing/preference_based_routing/plano_config_local.yaml b/demos/llm_routing/preference_based_routing/plano_config_local.yaml index 0a3db8bf..dbd287dd 100644 --- a/demos/llm_routing/preference_based_routing/plano_config_local.yaml +++ b/demos/llm_routing/preference_based_routing/plano_config_local.yaml @@ -13,7 +13,7 @@ model_providers: - name: arch-router model: arch/hf.co/katanemo/Arch-Router-1.5B.gguf:Q4_K_M - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 - model: openai/gpt-4o-mini access_key: $OPENAI_API_KEY diff --git a/docs/source/build_with_plano/includes/agent/function-calling-agent.yaml b/docs/source/build_with_plano/includes/agent/function-calling-agent.yaml index 904b12ce..1399cb9b 100644 --- a/docs/source/build_with_plano/includes/agent/function-calling-agent.yaml +++ b/docs/source/build_with_plano/includes/agent/function-calling-agent.yaml @@ -54,6 +54,6 @@ endpoints: # value could be ip address or a hostname with port # this could also be a list of endpoints for load balancing # for example endpoint: [ ip1:port, ip2:port ] - endpoint: host.docker.internal:18083 + endpoint: localhost:18083 # max time to wait for a connection to be established connect_timeout: 0.005s diff --git a/docs/source/concepts/llm_providers/model_aliases.rst b/docs/source/concepts/llm_providers/model_aliases.rst index 2d29be93..5d0a43a4 100644 --- a/docs/source/concepts/llm_providers/model_aliases.rst +++ b/docs/source/concepts/llm_providers/model_aliases.rst @@ -32,7 +32,7 @@ Basic Configuration access_key: $ANTHROPIC_API_KEY - model: ollama/llama3.1 - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 # Define aliases that map to the models above model_aliases: diff --git a/docs/source/concepts/llm_providers/supported_providers.rst b/docs/source/concepts/llm_providers/supported_providers.rst index 4ad89931..e09061e7 100644 --- a/docs/source/concepts/llm_providers/supported_providers.rst +++ b/docs/source/concepts/llm_providers/supported_providers.rst @@ -598,9 +598,9 @@ Ollama - model: ollama/llama3.1 base_url: http://localhost:11434 - # Ollama in Docker (from host) + # Ollama running locally - model: ollama/codellama - base_url: http://host.docker.internal:11434 + base_url: http://localhost:11434 OpenAI-Compatible Providers diff --git a/docs/source/get_started/quickstart.rst b/docs/source/get_started/quickstart.rst index ce026237..16624393 100644 --- a/docs/source/get_started/quickstart.rst +++ b/docs/source/get_started/quickstart.rst @@ -194,9 +194,9 @@ Here is a minimal configuration that wires Plano-Orchestrator to two HTTP servic agents: - id: flight_agent - url: http://host.docker.internal:10520 # your flights service + url: http://localhost:10520 # your flights service - id: hotel_agent - url: http://host.docker.internal:10530 # your hotels service + url: http://localhost:10530 # your hotels service model_providers: - model: openai/gpt-4o diff --git a/docs/source/guides/observability/monitoring.rst b/docs/source/guides/observability/monitoring.rst index 9d497568..736e0a64 100644 --- a/docs/source/guides/observability/monitoring.rst +++ b/docs/source/guides/observability/monitoring.rst @@ -59,7 +59,7 @@ are some sample configuration files for both, respectively. scheme: http static_configs: - targets: - - host.docker.internal:19901 + - localhost:19901 params: format: ["prometheus"] diff --git a/docs/source/resources/includes/agents/agents_config.yaml b/docs/source/resources/includes/agents/agents_config.yaml index 0b6aaba2..ef522337 100644 --- a/docs/source/resources/includes/agents/agents_config.yaml +++ b/docs/source/resources/includes/agents/agents_config.yaml @@ -2,9 +2,9 @@ version: v0.3.0 agents: - id: weather_agent - url: http://host.docker.internal:10510 + url: http://localhost:10510 - id: flight_agent - url: http://host.docker.internal:10520 + url: http://localhost:10520 model_providers: - model: openai/gpt-4o diff --git a/docs/source/resources/includes/plano_config_agents_filters.yaml b/docs/source/resources/includes/plano_config_agents_filters.yaml index dfc8fe7b..f726b121 100644 --- a/docs/source/resources/includes/plano_config_agents_filters.yaml +++ b/docs/source/resources/includes/plano_config_agents_filters.yaml @@ -2,16 +2,16 @@ version: v0.3.0 agents: - id: rag_agent - url: http://host.docker.internal:10505 + url: http://localhost:10505 filters: - id: query_rewriter - url: http://host.docker.internal:10501 + url: http://localhost:10501 # type: mcp # default is mcp # transport: streamable-http # default is streamable-http # tool: query_rewriter # default name is the filter id - id: context_builder - url: http://host.docker.internal:10502 + url: http://localhost:10502 model_providers: - model: openai/gpt-4o-mini diff --git a/docs/source/resources/includes/plano_config_full_reference.yaml b/docs/source/resources/includes/plano_config_full_reference.yaml index cc3973e0..a650baea 100644 --- a/docs/source/resources/includes/plano_config_full_reference.yaml +++ b/docs/source/resources/includes/plano_config_full_reference.yaml @@ -4,15 +4,15 @@ version: v0.3.0 # External HTTP agents - API type is controlled by request path (/v1/responses, /v1/messages, /v1/chat/completions) agents: - id: weather_agent # Example agent for weather - url: http://host.docker.internal:10510 + url: http://localhost:10510 - id: flight_agent # Example agent for flights - url: http://host.docker.internal:10520 + url: http://localhost:10520 # MCP filters applied to requests/responses (e.g., input validation, query rewriting) filters: - id: input_guards # Example filter for input validation - url: http://host.docker.internal:10500 + url: http://localhost:10500 # type: mcp (default) # transport: streamable-http (default) # tool: input_guards (default - same as filter id) diff --git a/docs/source/resources/includes/plano_config_full_reference_rendered.yaml b/docs/source/resources/includes/plano_config_full_reference_rendered.yaml index abd909a0..9717b53a 100644 --- a/docs/source/resources/includes/plano_config_full_reference_rendered.yaml +++ b/docs/source/resources/includes/plano_config_full_reference_rendered.yaml @@ -1,31 +1,31 @@ agents: - id: weather_agent - url: http://host.docker.internal:10510 + url: http://localhost:10510 - id: flight_agent - url: http://host.docker.internal:10520 + url: http://localhost:10520 endpoints: app_server: connect_timeout: 0.005s endpoint: 127.0.0.1 port: 80 flight_agent: - endpoint: host.docker.internal + endpoint: localhost port: 10520 protocol: http input_guards: - endpoint: host.docker.internal + endpoint: localhost port: 10500 protocol: http mistral_local: endpoint: 127.0.0.1 port: 8001 weather_agent: - endpoint: host.docker.internal + endpoint: localhost port: 10510 protocol: http filters: - id: input_guards - url: http://host.docker.internal:10500 + url: http://localhost:10500 listeners: - address: 0.0.0.0 agents: @@ -130,6 +130,6 @@ prompt_targets: required: true type: int tracing: - opentracing_grpc_endpoint: http://host.docker.internal:4317 + opentracing_grpc_endpoint: http://localhost:4317 random_sampling: 100 version: v0.3.0