What a run has used so far, against its Limits.
- Parameters:
-
-
cost: float = 0.0
-
classmethod from_dict(data)[source]
Rebuild what to_dict wrote.
- Parameters:
data (Mapping[str, Any])
- Return type:
Spent
-
seconds: float = 0.0
-
steps: int = 0
-
to_dict()[source]
Return a JSON-compatible mapping.
- Return type:
dict[str, Any]
-
tokens: int = 0
-
tool_calls: int = 0