- Issue created by @Akhil Babu
- Merge request !95Add getReadableOutput method in Drupal\ai_agents\Plugin\AiFunctionCall\Wikipedia class → (Open) created by Akhil Babu
I am getting the following error while trying to add new AI agents
Class Drupal\ai_agents\Plugin\AiFunctionCall\Wikipedia contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\ai\Service\FunctionCalling\ExecutableFunctionCallInterface::getReadableOutput) in /var/www/html/web/modules/contrib/ai_agents/src/Plugin/AiFunctionCall/Wikipedia.php on line 35
The Wikipedia tool does not implement getReadableOutput() method
Try creating an AI agent from the ui with the latest dev version of the module
The wikipedia tool has a setOutput method. But this method is not defined anywhere. Not sure if its going to be added to the plugin classes later.
Raising a PR with getReadableOutput
Active
1.1
Code