Preserve native diagnostic evidence

This commit is contained in:
2026-11-23 04:39:00 +00:00
parent c167a5e5ab
commit c477bcc388
9 changed files with 172 additions and 105 deletions

View File

@@ -60,8 +60,9 @@ type Response struct {
// PreparedSnapshot is the exact rendered request snapshot. Its messages may
// contain transcript and glossary content and belong only in protected diagnostics.
type PreparedSnapshot struct {
Messages []Message `json:"messages"`
Prompt PromptMetadata `json:"prompt"`
PromptKit any `json:"promptkit,omitempty"`
Messages []Message `json:"messages"`
Prompt PromptMetadata `json:"prompt"`
}
type Message struct {