1pub mod client;
2pub mod error;
3pub mod types;
4
5#[cfg(feature = "reqwest-client")]
6pub mod reqwest_client;
7
8#[cfg(feature = "wasm")]
9pub mod wasm;
10
11#[cfg(feature = "agent")]
12pub mod agent;
13
14#[cfg(feature = "cache")]
15pub mod cache;
16
17pub use client::{build_request, DeepSeekClient, HttpClient, DEFAULT_BASE_URL};
19pub use error::{DeepSeekError, Result};
20pub use types::*;
21
22#[cfg(feature = "reqwest-client")]
23pub use reqwest_client::{client_from_env, reason, reason_with_retry, ReqwestClient};
24
25#[cfg(feature = "wasm")]
26pub use wasm::WasmClient;
27
28#[cfg(feature = "agent")]
29pub use agent::{
30 run, AgentBuilder, CompactionConfig, ContentBlock, DeepSeekAgent, PermissionDecision,
31 PermissionMode, PreToolHook, ResultSubtype, RunOptions, SdkMessage, SystemSubtype, Tool,
32 ToolDefinition,
33};
34
35#[cfg(feature = "cache")]
36pub use cache::{Cache, InFlightDedup};