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

Method load

cake-core/src/models/exaone4/model.rs:28–32  ·  view source on GitHub ↗
(ctx: &mut Context)

Source from the content-addressed store, hash-verified

26 const MODEL_NAME: &'static str = "exaone4";
27
28 async fn load(ctx: &mut Context) -> Result<Option<Box<Self>>> {
29 let base = TextModelBase::load::<EXAONE4Block>(ctx, DEFAULT_EOS_TOKEN).await?;
30 let history = ChatMLHistory::new();
31 Ok(Some(Box::new(Self { base, history })))
32 }
33}
34
35#[async_trait]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected