File tree Expand file tree Collapse file tree
packages/app/src/pages/session/composer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { useMutation } from "@tanstack/solid-query"
44import { Button } from "@opencode-ai/ui/button"
55import { DockPrompt } from "@opencode-ai/ui/dock-prompt"
66import { Icon } from "@opencode-ai/ui/icon"
7+ import { Markdown } from "@opencode-ai/ui/markdown"
78import { showToast } from "@opencode-ai/ui/toast"
89import type { QuestionAnswer , QuestionRequest } from "@opencode-ai/sdk/v2"
910import { useLanguage } from "@/context/language"
@@ -469,7 +470,9 @@ export const SessionQuestionDock: Component<{ request: QuestionRequest; onSubmit
469470 </ >
470471 }
471472 >
472- < div data-slot = "question-text" > { question ( ) ?. question } </ div >
473+ < div data-slot = "question-text" >
474+ < Markdown text = { question ( ) ?. question ?? "" } />
475+ </ div >
473476 < Show when = { multi ( ) } fallback = { < div data-slot = "question-hint" > { language . t ( "ui.question.singleHint" ) } </ div > } >
474477 < div data-slot = "question-hint" > { language . t ( "ui.question.multiHint" ) } </ div >
475478 </ Show >
You can’t perform that action at this time.
0 commit comments