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

Method input_tokens

atomic-core/src/change/provenance/builder.rs:105–109  ·  view source on GitHub ↗

Set input tokens.

(mut self, tokens: u64)

Source from the content-addressed store, hash-verified

103
104 /// Set input tokens.
105 pub fn input_tokens(mut self, tokens: u64) -> Self {
106 self.tokens.input_tokens = tokens;
107 self.tokens.total_tokens = self.tokens.input_tokens + self.tokens.output_tokens;
108 self
109 }
110
111 /// Set output tokens.
112 pub fn output_tokens(mut self, tokens: u64) -> Self {

Callers 2

build_provenanceMethod · 0.80

Calls

no outgoing calls

Tested by 1