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

Method user

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

Create a user prompt entry.

(content: impl Into<String>)

Source from the content-addressed store, hash-verified

55impl CondensedEntry {
56 /// Create a user prompt entry.
57 pub fn user(content: impl Into<String>) -> Self {
58 Self {
59 entry_type: EntryType::User,
60 content: Some(content.into()),
61 tool_name: None,
62 tool_detail: None,
63 }
64 }
65
66 /// Create an assistant response entry.
67 pub fn assistant(content: impl Into<String>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected