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

Class AnthropicProvider

crates/opencode-provider/src/anthropic.rs:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18
19#[derive(Debug)]
20pub struct AnthropicProvider {
21 client: Client,
22 config: AnthropicConfig,
23 models: Vec<ModelInfo>,
24}
25
26impl AnthropicProvider {
27 pub fn new(api_key: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected