WIP: Add progenitor client

This commit is contained in:
Daniel Lundin 2024-12-14 22:47:40 +01:00
commit 07b6abf48c
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
13 changed files with 1891 additions and 38 deletions

View file

@ -7,6 +7,7 @@ license = "MPL-2.0"
[dependencies]
anyhow.workspace = true
clap.workspace = true
patagia-client = { path = "../client" }
tokio.workspace = true
tracing.workspace = true
tracing-chrome.workspace = true

View file

@ -19,6 +19,11 @@ async fn main() -> Result<()> {
tracing::info!("Patagia Agent");
let client = patagia_client::Client::new("http://localhost:9474");
let result = client.version().await?;
tracing::info!("Result: {:?}", result);
sleep(Duration::from_secs(3)).await;
Ok(())
}