()
| 121 | |
| 122 | #[tokio::test] |
| 123 | async fn tests_ai_task_request() { |
| 124 | let ai_func_param: String = |
| 125 | "Build me a webserver for making stock price api requests.".to_string(); |
| 126 | |
| 127 | let res: String = ai_task_request( |
| 128 | ai_func_param, |
| 129 | "Managing Agent", |
| 130 | "Defining user requirements", |
| 131 | convert_user_input_to_goal, |
| 132 | ) |
| 133 | .await; |
| 134 | |
| 135 | assert!(res.len() > 20); |
| 136 | } |
| 137 | } |
nothing calls this directly
no test coverage detected