diff --git a/src/config/mod.rs b/src/config/mod.rs index b8da547..c4cc9ad 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -1038,7 +1038,7 @@ mod tests { } }, "gateway": { - "host": "0.0.0.0", + "host": "127.0.0.1", "port": 19876, "agent_prompt_reinject_every": 120 } @@ -1139,7 +1139,7 @@ mod tests { fn test_default_gateway_config() { let file = write_test_config(); let config = Config::load(file.path().to_str().unwrap()).unwrap(); - assert_eq!(config.gateway.host, "0.0.0.0"); + assert_eq!(config.gateway.host, "127.0.0.1"); assert_eq!(config.gateway.port, 19876); assert!(!config.gateway.show_tool_results); assert_eq!(config.gateway.agent_prompt_reinject_every, 120);