~/Gentopia-ai/GentPool$ python3 assemble.py cpp_coding
>>> Assembling agent cpp_coding...
Traceback (most recent call last):
File "/home/crescentcat/Gentopia-ai/GentPool/assemble.py", line 41, in <module>
main()
File "/home/crescentcat/Gentopia-ai/GentPool/assemble.py", line 32, in main
agent = assembler.get_agent()
File "/home/crescentcat/Gentopia-ai/Gentopia/gentopia/assembler/agent_assembler.py", line 82, in get_agent
plugins=self._parse_plugins(config.get('plugins', [])),
File "/home/crescentcat/Gentopia-ai/Gentopia/gentopia/assembler/agent_assembler.py", line 225, in _parse_plugins
tool = load_tools(plugin['name'])(**params)
File "/home/crescentcat/Gentopia-ai/Gentopia/gentopia/tools/__init__.py", line 38, in load_tools
raise NotImplementedError
NotImplementedError
So I made a small fix in assembler/agent_assembler.py to solve this.
The plugin.__class__ will always return dict so it doesn't work correctly
When I create a custom agent, and use the custom tool, e.g.:
error occours:
So I made a small fix in
assembler/agent_assembler.py
to solve this. Theplugin.__class__
will always return dict so it doesn't work correctly