Remove finance-related code and dependencies.

This commit entirely removes the financial query agent, market data tools, and associated code and dependencies. It simplifies the codebase by eliminating unused or unnecessary functionality related to cryptocurrency market data and financial analysis.
This commit is contained in:
geoffsee
2025-05-27 12:30:19 -04:00
parent cfe77d7e61
commit 6e6865e0aa
18 changed files with 0 additions and 861 deletions

View File

@@ -1,28 +0,0 @@
use tokio::process::Child;
use tracing;
use crate::utils::utils::run_agent;
pub async fn finance_query_agent(stream_id: &str, input: &str) -> Result<Child, String> {
run_agent(stream_id, input, "./packages/genaiscript/genaisrc/finance-query.genai.mts").await
}
// #[cfg(test)]
// mod tests {
// use std::fmt::Debug;
// use crate::agents::search::search_agent;
//
// #[tokio::test] // Mark the test function as async
// async fn test_search_execution() {
// let input = "Who won the 2024 presidential election?";
//
// let mut command = search_agent("test-stream", input).await.unwrap();
//
// // command.stdout.take().unwrap().read_to_string(&mut String::new()).await.unwrap();
// // Optionally, you can capture and inspect stdout if needed:
// let output = command.wait_with_output().await.expect("Failed to wait for output");
// println!("Stdout: {}", String::from_utf8_lossy(&output.stdout));
// println!("Stderr: {}", String::from_utf8_lossy(&output.stderr));
// }
// }