mirror of
https://github.com/arthurgervais/mapta.git
synced 2026-04-26 23:45:52 +03:00
[GH-ISSUE #2] Missing function_tool definition #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mapta#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @meifukun on GitHub (Sep 6, 2025).
Original GitHub issue: https://github.com/arthurgervais/mapta/issues/2
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.
@flyfei-cmd commented on GitHub (Sep 11, 2025):
@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 ?
@flyfei-cmd commented on GitHub (Sep 12, 2025):
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