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

Method add_model

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

Add a model usage entry.

(mut self, usage: ModelUsage)

Source from the content-addressed store, hash-verified

987
988 /// Add a model usage entry.
989 pub fn add_model(mut self, usage: ModelUsage) -> Self {
990 self.models.push(usage);
991 self
992 }
993
994 /// Set all model usage entries at once.
995 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