From ae24bd10342bb88c14fedb475f092522e8abb6cf Mon Sep 17 00:00:00 2001 From: jnjpng Date: Fri, 20 Feb 2026 15:54:58 -0800 Subject: [PATCH] feat: add recent_chunks to feedback endpoint for diagnostics (#9594) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add recent_chunks field to feedback endpoint Accept an optional recent_chunks string in the /v1/metadata/feedback POST body and forward it to PostHog. Contains the last 100 truncated streaming chunks as JSON for debugging issues reported via /feedback. 🐾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta * chore: regenerate openapi specs with recent_chunks field --------- Co-authored-by: Letta --- fern/openapi.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fern/openapi.json b/fern/openapi.json index 98f1b815..344fef9a 100644 --- a/fern/openapi.json +++ b/fern/openapi.json @@ -21696,6 +21696,13 @@ }, "billing_tier": { "type": "string" + }, + "recent_chunks": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": {} + } } }, "required": ["message"]