Fix tools again, except it's still in the wrong format goddammit

This commit is contained in:
Alex Gleason committed 2025-08-23 15:38:32 -05:00
1 parent 4bc1ae96c9
commit c565decbe3
2 files changed
+22 -15

No files matched your search

+2 -2
View File
@@ -37,9 +37,9 @@ export const AssistantContent = memo(({ content }: AssistantContentProps) => {
}
// Handle direct string results
if (typeof toolResult.output === 'string') {
if (toolResult.output.type === 'text') {
return {
result: toolResult.output,
result: toolResult.output.value,
isError: false
};
}