Skip to content

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

fix(agent): Minor styling fixes (#14368)

Ben Bachemd7f46b9985cb
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.module.css b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.module.css
index f04f9cb4ad..31d8acb51c 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.module.css
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.module.css
@@ -12,6 +12,14 @@
@apply prose-headings:my-2.5 text-sm leading-4.5;
}
+.Streamdown blockquote {
+ @apply text-muted-foreground;
+}
+
+.Streamdown a {
+ @apply text-primary-accent;
+}
+
.Streamdown > div > *:first-child {
@apply mt-0!;
}
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.stories.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.stories.tsx
index fed1e99ca9..f6c03bbf62 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.stories.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.stories.tsx
@@ -120,7 +120,7 @@ export const AssistantMarkdown = meta.story({
"##### Heading 5",
"###### Heading 6",
"",
- "You can use **Langfuse** to inspect _production traces_ and compare `input`, `output`, `metadata` and `scores` across releases.",
+ "You can use **[Langfuse](https://langfuse.com)** to inspect _production traces_ and compare `input`, `output`, `metadata` and `scores` across releases.",
"",
"- Inspect traces with nested observations",
"- Evaluate outputs with scores",
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
index 8162d38d1f..cf1f3e3659 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
@@ -349,7 +349,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {
>
<div
className={cn(
- "flex h-full w-full flex-col gap-4 py-4",
+ "flex h-full w-full flex-col py-4",
isExpanded && "mx-auto max-w-3xl",
isExpanded ? "px-0" : "px-3",
)}