Wrap long lines in question option previews

This commit is contained in:
Gabriel Giordano
2026-10-14 06:43:01 +02:00
committed by paseo-bot[bot]
parent f191323dfb
commit f20c768ba2
2 changed files with 14 additions and 1 deletions
@@ -272,7 +272,13 @@ function parseSettledAssistantImageMarkdown(prompt: AgentPromptInput): string |
return match?.[1] ?? null;
}
const ROLLOUT_FLAG_PREVIEW = 'if (flags.enabled("new-surface")) {\n render(<NewSurface />);\n}';
const ROLLOUT_FLAG_PREVIEW = [
"Ship it dark behind the new-surface flag, then turn it on for internal users before everyone else.",
"",
'if (flags.enabled("new-surface")) {',
" render(<NewSurface />);",
"}",
].join("\n");
function parseMockQuestionPrompt(prompt: AgentPromptInput): MockQuestionPromptRequest | null {
const text = promptToText(prompt);