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

Method assistant

crates/opencode-provider/src/message.rs:188–195  ·  view source on GitHub ↗
(content: impl Into<String>)

Source from the content-addressed store, hash-verified

186 }
187
188 pub fn assistant(content: impl Into<String>) -> Self {
189 Self {
190 role: Role::Assistant,
191 content: Content::Text(content.into()),
192 cache_control: None,
193 provider_options: None,
194 }
195 }
196
197 pub fn system(content: impl Into<String>) -> Self {
198 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected