phantasmlabs / phantasm

Toolkits to create a human-in-the-loop approval layer to monitor and guide AI agents workflow in real-time.
https://docs.phantasmlabs.com
GNU General Public License v3.0
134 stars 6 forks source link

feat: add optional auto-approve config on no approver #24

Closed edwinkys closed 4 days ago

edwinkys commented 4 days ago

Description

Fixes #22

This PR allows users to optionally configure to auto approve all approver request received by the system when in case there is no approver available. This configuration is great for small team but not recommended in production.

How Has This Been Tested?

I have tested my work by:

  1. Running the server with auto approval configuration active.
  2. Emulate a get approval method
  3. Without any approver connected the auto approval should approve the request.

Checklist