Cost calculation based on token usage.
| 120 | cached_tokens: int = 0 |
| 121 | |
| 122 | class CostData(BaseModel): |
| 123 | """Cost calculation based on token usage.""" |
| 124 | input_cost: float |
| 125 | output_cost: float |
| 126 | total_cost: float |
| 127 | |
| 128 | class AnalyzeResponse(BaseModel): |
| 129 | """Enhanced analyze response with cost tracking.""" |
no outgoing calls
no test coverage detected