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

Class AnthropicDelta

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

Source from the content-addressed store, hash-verified

240
241#[derive(Debug, Clone, Serialize, Deserialize)]
242pub struct AnthropicDelta {
243 #[serde(rename = "type")]
244 pub delta_type: Option<String>,
245 pub text: Option<String>,
246 pub partial_json: Option<String>,
247 pub stop_reason: Option<String>,
248}
249
250#[derive(Debug, Clone, Serialize, Deserialize)]
251pub struct AnthropicContentBlock {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected