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

Method profile

atomic-core/src/change/provenance_graph/builder.rs:89–92  ·  view source on GitHub ↗

Set the schema profile identifier. Use [`super::SHERPA_PROFILE`] for Sherpa-structured graphs. Omit for generic agent graphs — `profile` defaults to `None` if not set.

(mut self, profile: impl Into<String>)

Source from the content-addressed store, hash-verified

87 /// Use [`super::SHERPA_PROFILE`] for Sherpa-structured graphs. Omit for generic
88 /// agent graphs — `profile` defaults to `None` if not set.
89 pub fn profile(mut self, profile: impl Into<String>) -> Self {
90 self.profile = Some(profile.into());
91 self
92 }
93
94 /// Add a node to the graph.
95 pub fn add_node(mut self, node: ProvenanceNode) -> Self {

Calls

no outgoing calls