fix: Proper messages rendering for "Show raw output" (#21672)

This commit is contained in:
Aleksander Grygier
2026-04-12 13:08:11 +02:00
committed by GitHub
parent 6313acbef0
commit 9e209c5aee
3 changed files with 88 additions and 27 deletions
@@ -15,6 +15,11 @@ export const DEFAULT_AGENTIC_CONFIG: AgenticConfig = {
maxToolPreviewLines: 25
} as const;
export const REASONING_TAGS = {
START: '<think>',
END: '</think>'
} as const;
/**
* @deprecated Legacy marker tags - only used for migration of old stored messages.
* New messages use structured fields (reasoningContent, toolCalls, toolCallId).