Skip to content

Create template for adding a new action #56

Description

@TanGentleman

This will help organize how to add a generic ActionType or a new action for a task type that has existing state logic.

A successful GitHub commit diff should be entirely isolated to the tangents folder.

  • Update classes/actions.py with the new ActionType.
  • Update nodes.py with the logic changes to start_action and handle_action_result
  • Update utils/execute_action.py with logic for action execution
  • Optional: If needed, add an action arg handler function to action_utils.py
  • Optional: Maintain readability by defining helper functions in a file specific to the task scope. Separate concerns!

I am working on a guide for implementing new types of agent tasks with custom Actions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions