mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Add line wrapping to MCP arguments (#2831)
This commit is contained in:
parent
3e2d20f37c
commit
f1c79759a0
2 changed files with 4 additions and 0 deletions
|
|
@ -1174,6 +1174,7 @@ export const ChatRowContent = ({
|
|||
language="json"
|
||||
isExpanded={true}
|
||||
onToggleExpand={onToggleExpand}
|
||||
forceWrap={true}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ interface CodeAccordianProps {
|
|||
onToggleExpand: () => void
|
||||
isLoading?: boolean
|
||||
progressStatus?: ToolProgressStatus
|
||||
forceWrap?: boolean
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -38,6 +39,7 @@ const CodeAccordian = ({
|
|||
onToggleExpand,
|
||||
isLoading,
|
||||
progressStatus,
|
||||
forceWrap,
|
||||
}: CodeAccordianProps) => {
|
||||
const inferredLanguage = useMemo(
|
||||
() => code && (language ?? (path ? getLanguageFromPath(path) : undefined)),
|
||||
|
|
@ -126,6 +128,7 @@ const CodeAccordian = ({
|
|||
diff ??
|
||||
""
|
||||
).trim()}\n${"```"}`}
|
||||
forceWrap={forceWrap}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue