MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / ApiClient

Class ApiClient

crates/opencode-tui/src/api.rs:244–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244pub struct ApiClient {
245 client: Client,
246 base_url: String,
247 pub current_session: Arc<RwLock<Option<SessionInfo>>>,
248}
249
250impl ApiClient {
251 pub fn new(base_url: String) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected