1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Wauldo Rust SDK
//!
//! Provides two client interfaces:
//! - `AgentClient` — MCP server client (stdio JSON-RPC) for reasoning, planning, tools
//! - `HttpClient` — REST API client (OpenAI-compatible) for chat, embeddings, RAG, orchestrator
//!
//! # Quick Start (HTTP API)
//!
//! ```rust,no_run
//! use wauldo::{HttpClient, ChatRequest, ChatMessage, Result};
//!
//! #[tokio::main]
//! async fn main() -> Result<()> {
//! let client = HttpClient::localhost()?;
//!
//! let models = client.list_models().await?;
//! println!("Models: {:?}", models.data.iter().map(|m| &m.id).collect::<Vec<_>>());
//!
//! let req = ChatRequest::new("qwen2.5:7b", vec![ChatMessage::user("Hello!")]);
//! let resp = client.chat(req).await?;
//! println!("{}", resp.choices[0].message.content.as_deref().unwrap_or(""));
//!
//! Ok(())
//! }
//! ```
pub use AgentClient;
pub use Conversation;
pub use ;
pub use HttpClient;
pub use HttpConfig;
pub use *;
pub use MockHttpClient;
pub use *;