Class: ActiveHarness::UsageInfo
- Inherits:
-
Struct
- Object
- Struct
- ActiveHarness::UsageInfo
- Defined in:
- lib/active_harness/result.rb
Overview
Combined token + cost stats for a single agent call. tokens is always present (raw provider data). cost is nil when pricing is unavailable.
Instance Attribute Summary collapse
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#tokens ⇒ Object
Returns the value of attribute tokens.
Instance Attribute Details
#cost ⇒ Object
Returns the value of attribute cost
39 40 41 |
# File 'lib/active_harness/result.rb', line 39 def cost @cost end |
#tokens ⇒ Object
Returns the value of attribute tokens
39 40 41 |
# File 'lib/active_harness/result.rb', line 39 def tokens @tokens end |