Get Recommended Stage • AI Agent SDK
get_recommended_stage: Get recommended execution stage for prompt.
get_recommended_stage
Method
</div>
Get recommended execution stage for prompt.
Signature
def get_recommended_stage(prompt: str) -> strParameters
ParamField
strThe user prompt
Returns
ResponseField
strStage name as string (direct, heuristic, planned, autonomous)
Uses
analyzerecommend_stage
Used By
Source
View on GitHubpraisonaiagents/agent/agent.py at line 4556