(name: &str, output: String)
| 177 | |
| 178 | impl ToolResult { |
| 179 | pub fn success(name: &str, output: String) -> Self { |
| 180 | Self { |
| 181 | name: name.to_string(), |
| 182 | output, |
| 183 | exit_code: 0, |
| 184 | metadata: None, |
| 185 | images: Vec::new(), |
| 186 | error_kind: None, |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | pub fn error(name: &str, message: String) -> Self { |
| 191 | Self { |
no outgoing calls
no test coverage detected