Closed MrAndroPC closed 1 week ago
The check function of the action module doesn't have args. The check function simply checks if the action should be available for the llm to trigger. Because the args is actually undefined in your code, it returns false and doesn't show up for the llm. I will upload a full documentation for actions next week.
I see, tnx for clarification. I think it up to ai then to decide if it able to pay (but at least I guess I can check if AI isn't in debt)
At first, pinning full log and action file: debug.log customtest.js.txt
I attempted to add a custom action, but according to the logs, the application doesn’t include the action in the prompt's actions list. All default actions (besides becomeCloseFriends) are included, but my custom action is missing, regardless of which folder I place it in. There are no warnings or errors, and the custom action file is loaded successfully (checked in the Actions window). However, it’s still not reflected in the list of actions available for the prompt.
Additionally, I've noticed that the becomeCloseFriends action is also missing from the prompt list, despite being loaded according to the logs.
Loaded action files in log:
List of actions in prompt:
All actions are checked in app and reloaded, app was re-opened:
What I've already tried: