Token usage statistics from LLM API response.
| 38 | |
| 39 | |
| 40 | class TokenUsage(BaseModel): |
| 41 | """Token usage statistics from LLM API response.""" |
| 42 | |
| 43 | prompt_tokens: int = 0 |
| 44 | completion_tokens: int = 0 |
| 45 | total_tokens: int = 0 |
| 46 | |
| 47 | |
| 48 | class LLMResponse(BaseModel): |
no outgoing calls
no test coverage detected