fix: resolve TypeScript error in tool response content

This commit is contained in:
Pascal 2026-01-24 18:04:01 +01:00
parent 9ddc54b668
commit 85b8da45f9
1 changed files with 1 additions and 1 deletions

View File

@ -564,7 +564,7 @@ export class AgenticClient {
sessionMessages.push({
role: 'tool',
tool_call_id: toolCall.id,
content: contentParts.length === 1 ? contentParts[0].text : contentParts
content: contentParts.length === 1 ? cleanedResult : contentParts
});
}