Skip to content

Commit 25cc0f6

Browse files
authored
Merge pull request modelcontextprotocol#300 from kavinkumar807/fix-tool-error-is-not-highlighted-for-sample-llm-tool-call-rejection
fix: missing condition for lengthy strings
2 parents d332352 + f1d5824 commit 25cc0f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/JsonView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ const JsonNode = memo(
227227
)}
228228
<pre
229229
className={clsx(
230-
typeStyleMap.string,
230+
isError ? typeStyleMap.error : typeStyleMap.string,
231231
"break-all whitespace-pre-wrap",
232232
)}
233233
>

0 commit comments

Comments
 (0)