MCPcopy Create free account
hub / github.com/evilsocket/cake / assistant

Method assistant

cake-core/src/models/chat.rs:56–61  ·  view source on GitHub ↗

Create an assistant message.

(content: String)

Source from the content-addressed store, hash-verified

54
55 /// Create an assistant message.
56 pub fn assistant(content: String) -> Self {
57 Self {
58 role: MessageRole::Assistant,
59 content,
60 }
61 }
62}
63
64#[cfg(test)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected