init
This commit is contained in:
6
src/agents/news.rs
Normal file
6
src/agents/news.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
use crate::utils::utils::run_agent;
|
||||
use tokio::process::Child;
|
||||
|
||||
pub async fn news_agent(stream_id: &str, input: &str) -> Result<Child, String> {
|
||||
run_agent(stream_id, input, "./packages/genaiscript/genaisrc/news-search.genai.mts").await
|
||||
}
|
Reference in New Issue
Block a user