mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix tools again, except it's still in the wrong format goddammit
This commit is contained in:
2 files changed
+22
-15
No files matched your search
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user