zen: fix parsing cache write tokens

This commit is contained in:
Frank
2025-09-25 17:02:21 -04:00
parent b207ed2b7b
commit 6e712f9faf
2 changed files with 8 additions and 6 deletions

View File

@@ -161,7 +161,6 @@ export async function handler(
logger.metric({ time_to_first_byte: Date.now() - startTimestamp })
}
responseLength += value.length
console.log(decoder.decode(value, { stream: true }))
buffer += decoder.decode(value, { stream: true })
const parts = buffer.split("\n\n")