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

Method with_context

core/src/graph/node.rs:43–46  ·  view source on GitHub ↗

Add conversational context string to the configuration

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

Source from the content-addressed store, hash-verified

41
42 /// Add conversational context string to the configuration
43 pub fn with_context(mut self, context: impl Into<String>) -> Self {
44 self.conversational_context = Some(context.into());
45 self
46 }
47
48 /// Add a system prompt override to the configuration
49 pub fn with_system_prompt_override(mut self, system_prompt: impl Into<String>) -> Self {

Callers 1

agentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected