use codex_sdk_rs::{AsyncCodex, CodexConfig, Result};
#[tokio::main]
async fn main() -> Result<()> {
let codex = AsyncCodex::connect(CodexConfig::default()).await?;
let thread = codex.thread_start().await?;
let result = thread
.run("Explain this repository in three bullets.")
.await?;
println!("{}", result.final_response.unwrap_or_default());
codex.close().await
}