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

Class AnthropicContentBlock

crates/opencode-provider/src/stream.rs:251–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249
250#[derive(Debug, Clone, Serialize, Deserialize)]
251pub struct AnthropicContentBlock {
252 #[serde(rename = "type")]
253 pub block_type: String,
254 pub id: Option<String>,
255 pub name: Option<String>,
256 pub input: Option<serde_json::Value>,
257}
258
259#[derive(Debug, Clone, Serialize, Deserialize)]
260pub struct AnthropicMessage {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected