(name: &str)
| 1618 | use opencode_provider::ToolDefinition; |
| 1619 | |
| 1620 | fn make_tool(name: &str) -> ToolDefinition { |
| 1621 | ToolDefinition { |
| 1622 | name: name.to_string(), |
| 1623 | description: Some(format!("Test tool: {}", name)), |
| 1624 | parameters: serde_json::json!({"type": "object", "properties": {}}), |
| 1625 | } |
| 1626 | } |
| 1627 | |
| 1628 | #[test] |
| 1629 | fn test_repair_tool_call_exact_match() { |
no outgoing calls