forked from retoor/devplacepy
feat: add project fork async job service with cli prune/clear commands and shared container image build target
This commit is contained in:
@@ -98,4 +98,20 @@ AGENTIC_ACTIONS: tuple[Action, ...] = (
|
||||
arg("allowed_tools", "Optional list of tool names the sub-agent may use.", kind="array"),
|
||||
),
|
||||
),
|
||||
Action(
|
||||
name="eval",
|
||||
method="LOCAL",
|
||||
path="",
|
||||
summary="Run a prompt through a fresh Devii sub-agent and return its result (self-evaluation)",
|
||||
description=(
|
||||
"Executes the given prompt as if it were a new request to yourself, with full tool "
|
||||
"access, and returns the result. This is the engine behind user-defined tools. Nesting is "
|
||||
"limited, so do not build deep self-calling chains."
|
||||
),
|
||||
handler="agentic",
|
||||
requires_auth=False,
|
||||
params=(
|
||||
arg("prompt", "The instruction to run as a fresh sub-agent request.", required=True),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user