diff --git a/crates/zhila-daemon/src/agent.rs b/crates/zhila-daemon/src/agent.rs index 24b1a48..535d436 100644 --- a/crates/zhila-daemon/src/agent.rs +++ b/crates/zhila-daemon/src/agent.rs @@ -261,8 +261,6 @@ fn mock_turn(text: &str) -> (String, Vec) { "Section B is where the room turns; I would open it.".into(), vec![Command::SelectSection { index: 1 }], ) - } else if lower.contains("render") { - ("Rendering the arrangement.".into(), vec![Command::Render]) } else { ( "I am here, listening to the room. Ask me to move something, or press listen.".into(), @@ -357,8 +355,6 @@ fn tools() -> Value { fn command_from_tool(name: &str, arguments: &str) -> Option { let args: Value = serde_json::from_str(arguments).unwrap_or(Value::Null); let vein = |value: &Value| serde_json::from_value::(value.clone()).ok(); - let subject = |value: &Value| serde_json::from_value::(value.clone()).ok(); - let _ = subject; match name { "play" => Some(Command::Play), "stop" => Some(Command::Stop),