1 2 3 4 5 6 7 8 9
use rust_genai::Client; #[tokio::main] async fn main() -> rust_genai::Result<()> { let client = Client::from_env()?; let caches = client.caches().list().await?; println!("{:?}", caches.cached_contents); Ok(()) }