(null);
@@ -144,7 +145,7 @@ export function AssistantPanel({ configured, userId }: Props) {
style={message.role === "assistant" ? { borderColor: "var(--hair)" } : undefined}
>
- {message.role === "user" ? "You" : "Assistant"}
+ {message.role === "user" ? "You" : assistantName}
{message.content}
@@ -157,7 +158,7 @@ export function AssistantPanel({ configured, userId }: Props) {
aria-live="polite"
aria-busy="true"
>
- Assistant
+ {assistantName}
{activityLabel ?? "Working…"}
@@ -180,9 +181,9 @@ export function AssistantPanel({ configured, userId }: Props) {
setInput(event.target.value)}
- placeholder="Ask the assistant…"
+ placeholder={`Ask ${assistantName}…`}
disabled={isPending}
- aria-label="Assistant message"
+ aria-label={`Message for ${assistantName}`}
className="h-9"
/>