MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / with_system_prompt

Method with_system_prompt

core/src/agents.rs:64–67  ·  view source on GitHub ↗

Set system prompt

(mut self, prompt: impl Into<String>)

Source from the content-addressed store, hash-verified

62
63 /// Set system prompt
64 pub fn with_system_prompt(mut self, prompt: impl Into<String>) -> Self {
65 self.system_prompt = prompt.into();
66 self
67 }
68
69 /// Set max tokens
70 pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {

Calls

no outgoing calls