mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat: Add option to returnIntermediateSteps for AI agents (#8113)
## Summary  Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -43,8 +43,13 @@ export class ToolWikipedia implements INodeType {
|
||||
};
|
||||
|
||||
async supplyData(this: IExecuteFunctions): Promise<SupplyData> {
|
||||
const WikiTool = new WikipediaQueryRun();
|
||||
|
||||
WikiTool.description =
|
||||
'A tool for interacting with and fetching data from the Wikipedia API. The input should always be a string query.';
|
||||
|
||||
return {
|
||||
response: logWrapper(new WikipediaQueryRun(), this),
|
||||
response: logWrapper(WikiTool, this),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user