) : null}
@@ -166,16 +167,16 @@ export function AskUserQuestionView(props: ToolViewProps) {
)}
- {opt.label}
+
{opt.description ? (
-
- {opt.description}
+
+
) : null}
diff --git a/web/src/components/ToolCard/views/RequestUserInputView.tsx b/web/src/components/ToolCard/views/RequestUserInputView.tsx
index 5aafc689a..45e1eb017 100644
--- a/web/src/components/ToolCard/views/RequestUserInputView.tsx
+++ b/web/src/components/ToolCard/views/RequestUserInputView.tsx
@@ -3,6 +3,7 @@ import {
parseRequestUserInputInput,
parseRequestUserInputAnswers
} from '@/components/ToolCard/requestUserInput'
+import { MarkdownRenderer } from '@/components/MarkdownRenderer'
import { cn } from '@/lib/utils'
function getSelectionMark(isSelected: boolean): string {
@@ -42,8 +43,8 @@ export function RequestUserInputView(props: ToolViewProps) {
return (
{q.question ? (
-
- {q.question}
+
+
) : null}
@@ -92,16 +93,16 @@ export function RequestUserInputView(props: ToolViewProps) {
)}
- {opt.label}
+
{opt.description ? (
-
- {opt.description}
+
+
) : null}