(name: &str, response: &str)
| 353 | } |
| 354 | |
| 355 | fn function_response(name: &str, response: &str) -> Self { |
| 356 | Self { |
| 357 | text: None, |
| 358 | function_call: None, |
| 359 | function_response: Some(VertexFunctionResponse { |
| 360 | name: name.to_string(), |
| 361 | response: serde_json::json!({ "content": response }), |
| 362 | }), |
| 363 | } |
| 364 | } |
| 365 | } |
| 366 | |
| 367 | #[derive(Debug, Serialize, Deserialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected