MCPcopy Create free account
hub / github.com/coderaidershaun/rust-auto-gippity-full-code / tests_ai_task_request

Function tests_ai_task_request

src/helpers/general.rs:123–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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}

Callers

nothing calls this directly

Calls 1

ai_task_requestFunction · 0.85

Tested by

no test coverage detected