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

Method with_ai_cost_usd

atomic-cli/src/commands/record/mod.rs:400–403  ·  view source on GitHub ↗

Builder: set the AI cost in USD.

(mut self, cost: f64)

Source from the content-addressed store, hash-verified

398
399 /// Builder: set the AI cost in USD.
400 pub fn with_ai_cost_usd(mut self, cost: f64) -> Self {
401 self.ai_cost_usd = Some(cost);
402 self
403 }
404
405 /// Builder: set the AI request ID.
406 pub fn with_ai_request_id(mut self, request_id: impl Into<String>) -> Self {

Calls

no outgoing calls