Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ default_content
Function
default_content
crates/opencode-provider/src/message.rs:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
fn default_content() -> Content {
52
Content::Text(String::new())
53
}
54
55
/// Deserialize content that may be null (some OpenAI-compatible APIs return
56
/// `
"content"
: null` for tool-call-only responses).
Callers
nothing calls this directly
Calls
1
new
Function · 0.85
Tested by
no test coverage detected