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

Method add_message

cake-core/src/models/falcon3/model.rs:37–40  ·  view source on GitHub ↗
(&mut self, message: Message)

Source from the content-addressed store, hash-verified

35#[async_trait]
36impl TextGenerator for Falcon3 {
37 fn add_message(&mut self, message: Message) -> Result<()> {
38 self.history.push(message);
39 Ok(())
40 }
41
42 fn reset(&mut self) -> Result<()> {
43 self.history.clear();

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected