Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ui): show linebreaks in prompts (#794)

Marc Klingendaa32928148e
diff --git a/src/features/prompts/components/new-prompt-button.tsx b/src/features/prompts/components/new-prompt-button.tsx
index 2dcbc051cb..dd057f0f5a 100644
--- a/src/features/prompts/components/new-prompt-button.tsx
+++ b/src/features/prompts/components/new-prompt-button.tsx
@@ -210,7 +210,7 @@ export const NewPromptForm = (props: {
<FormControl>
<Textarea
{...field}
- className="min-h-[150px] flex-1 font-mono text-xs"
+ className="min-h-[150px] flex-1 whitespace-pre-wrap font-mono text-xs"
/>
</FormControl>
<FormMessage />