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

Method with_system_prompt

crates/opencode-agent/src/executor.rs:75–78  ·  view source on GitHub ↗
(mut self, prompt: impl Into<String>)

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn with_system_prompt(mut self, prompt: impl Into<String>) -> Self {
76 self.conversation = Conversation::with_system_prompt(prompt);
77 self
78 }
79
80 pub fn with_disabled_tools<I>(mut self, tools: I) -> Self
81 where

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected