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

Class AnthropicEvent

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

Source from the content-addressed store, hash-verified

230
231#[derive(Debug, Clone, Serialize, Deserialize)]
232pub struct AnthropicEvent {
233 #[serde(rename = "type")]
234 pub event_type: String,
235 pub index: Option<u32>,
236 pub delta: Option<AnthropicDelta>,
237 pub content_block: Option<AnthropicContentBlock>,
238 pub message: Option<AnthropicMessage>,
239}
240
241#[derive(Debug, Clone, Serialize, Deserialize)]
242pub struct AnthropicDelta {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected