(overrides: Partial<CachedCall> = {})
| 32 | }) |
| 33 | |
| 34 | function makeCall(overrides: Partial<CachedCall> = {}): CachedCall { |
| 35 | return { |
| 36 | provider: 'claude', |
| 37 | model: 'claude-sonnet-4-20250514', |
| 38 | usage: { |
| 39 | inputTokens: 1000, |
| 40 | outputTokens: 500, |
| 41 | cacheCreationInputTokens: 0, |
| 42 | cacheReadInputTokens: 0, |
| 43 | cachedInputTokens: 0, |
| 44 | reasoningTokens: 0, |
| 45 | webSearchRequests: 0, |
| 46 | cacheCreationOneHourTokens: 0, |
| 47 | }, |
| 48 | speed: 'standard', |
| 49 | timestamp: '2026-05-15T10:00:00Z', |
| 50 | tools: ['Read', 'Edit'], |
| 51 | bashCommands: [], |
| 52 | skills: [], |
| 53 | deduplicationKey: 'msg-abc123', |
| 54 | ...overrides, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | function makeTurn(overrides: Partial<CachedTurn> = {}): CachedTurn { |
| 59 | return { |
no outgoing calls
no test coverage detected