#2
Missing function_tool definition
The main.py uses the @function_tool decorator to register callable tools (e.g., send_slack_alert, sandbox_run_command), but the decorator is neither defined nor imported in the repo. This leads to import errors when running the scanner.
Activity
2yes i had the same experience i dug up a bit and discovered that you need to install the openai agents sdk and change the function_tool tool to "agents" import and initiated a pull request ti fix this issue but it's still open
This method is not right, Now I know they have implemented a function_tool module, if we use openai agents, it would not work. You need change many codes.
Also we need implement a sandbox to run the whole codes
@yosif-qasim I have fixed this problem using the same way as you committed, But I can not use the current version of mapta to do penetration. It looks like it still lacks SANDBOX_FACTORY, Could you use this current version mapta to do penetration ?