mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(Anthropic Chat Model Node): Fix LmChatAnthropic node to work when both thinking is enabled and tools used (#16010)
This commit is contained in:
committed by
GitHub
parent
0bea193814
commit
e662998c67
@@ -75,8 +75,8 @@ export class ToolExecutor implements INodeType {
|
||||
}
|
||||
} else {
|
||||
// Handle single tool
|
||||
if (!toolName || toolName === (tool as Tool).name) {
|
||||
const result = await executeTool(tool as Tool, parsedQuery);
|
||||
if (!toolName || toolName === tool.name) {
|
||||
const result = await executeTool(tool, parsedQuery);
|
||||
resultData.push(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user