Skip to content

Commit

Permalink
feat: rig-core integration (#32)
Browse files Browse the repository at this point in the history
* trade stuff on pump tools

* feat: rig-core integration
  • Loading branch information
piotrostr authored Jan 20, 2025
1 parent 18ee91f commit 2572775
Show file tree
Hide file tree
Showing 15 changed files with 711 additions and 164 deletions.
191 changes: 190 additions & 1 deletion listen-kit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions listen-kit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ proc-macro2 = "1.0.93"
quote = "1.0.38"
syn = { version = "1.0", features = ["full"] }
anyhow = "1.0.95"
rig-core = "0.6.1"
once_cell = "1.20.2"
rig-tool-macro = { path = "../../rig-tool-macro" }
thiserror = "2.0.11"
12 changes: 12 additions & 0 deletions listen-kit/examples/trader_agent.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
use anyhow::Result;
use listen_kit::agent::create_trader_agent;
use rig::cli_chatbot::cli_chatbot;

#[tokio::main]
async fn main() -> Result<()> {
let trader_agent = create_trader_agent().await?;

cli_chatbot(trader_agent).await?;

Ok(())
}
Loading

0 comments on commit 2572775

Please sign in to comment.