fix: decode HTML entities in tool call results for multi-turn conversations (#20755)
This commit is contained in:
@@ -878,7 +878,7 @@ export const processDetails = (content) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (attributes.result) {
|
if (attributes.result) {
|
||||||
content = content.replace(match, `"${attributes.result}"`);
|
content = content.replace(match, unescapeHtml(attributes.result));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user