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

Method push

cake-core/src/models/llama3/llama.rs:24–29  ·  view source on GitHub ↗
(&mut self, msg: Message)

Source from the content-addressed store, hash-verified

22
23impl ChatHistory {
24 fn push(&mut self, msg: Message) {
25 match self {
26 Self::Llama(h) => h.push(msg),
27 Self::ChatML(h) => h.push(msg),
28 }
29 }
30 fn encode_dialog_to_prompt(&self) -> String {
31 match self {
32 Self::Llama(h) => h.encode_dialog_to_prompt(),

Callers 13

depthwise_conv1dMethod · 0.45
loadMethod · 0.45
embed_conv1dMethod · 0.45
istftMethod · 0.45
upsampleFunction · 0.45
loadMethod · 0.45
time_scheduleMethod · 0.45
loadMethod · 0.45
depthwise_conv1dMethod · 0.45
tokenizeMethod · 0.45
map_ipa_to_tokensMethod · 0.45
add_messageMethod · 0.45

Calls

no outgoing calls

Tested by 1