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

Method add_model

atomic-core/src/change/attestation.rs:606–609  ·  view source on GitHub ↗

Add a model usage entry.

(mut self, usage: ModelUsage)

Source from the content-addressed store, hash-verified

604
605 /// Add a model usage entry.
606 pub fn add_model(mut self, usage: ModelUsage) -> Self {
607 self.models.push(usage);
608 self
609 }
610
611 /// Set all model usage entries at once.
612 pub fn models(mut self, models: Vec<ModelUsage>) -> Self {

Callers 1

make_attestationFunction · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected