diff --git a/ui/desktop/src/components/GooseResponseForm.tsx b/ui/desktop/src/components/GooseResponseForm.tsx index 69ff86b1ed..a5f811c284 100644 --- a/ui/desktop/src/components/GooseResponseForm.tsx +++ b/ui/desktop/src/components/GooseResponseForm.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect, useRef } from 'react'; -import ReactMarkdown from 'react-markdown'; +import MarkdownContent from './MarkdownContent'; import { Button } from './ui/button'; import { cn } from '../utils'; import { Send } from './icons'; @@ -177,7 +177,7 @@ export default function GooseResponseForm({ >

{opt.optionTitle}

- {opt.optionDescription} +
))} diff --git a/ui/desktop/src/components/ToolCallArguments.tsx b/ui/desktop/src/components/ToolCallArguments.tsx index 3a34d88af4..f0d5b5b811 100644 --- a/ui/desktop/src/components/ToolCallArguments.tsx +++ b/ui/desktop/src/components/ToolCallArguments.tsx @@ -1,5 +1,5 @@ import React, { useState } from 'react'; -import ReactMarkdown from 'react-markdown'; +import MarkdownContent from './MarkdownContent'; interface ToolCallArgumentsProps { args: Record; @@ -44,9 +44,7 @@ export function ToolCallArguments({ args }: ToolCallArgumentsProps) { {isExpanded && (
- - {value} - +
)}