MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / assistant

Method assistant

atomic-agent/src/transcript/types.rs:67–74  ·  view source on GitHub ↗

Create an assistant response entry.

(content: impl Into<String>)

Source from the content-addressed store, hash-verified

65
66 /// Create an assistant response entry.
67 pub fn assistant(content: impl Into<String>) -> Self {
68 Self {
69 entry_type: EntryType::Assistant,
70 content: Some(content.into()),
71 tool_name: None,
72 tool_detail: None,
73 }
74 }
75
76 /// Create a tool invocation entry.
77 pub fn tool(name: impl Into<String>, detail: Option<impl Into<String>>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected