Files
AutoGPT/autogpt_platform/backend
Zamil Majdy 2f37aeec12 feat(platform/copilot): add SuggestedGoalResponse for vague/unachievable goals
- Add SUGGESTED_GOAL response type and SuggestedGoalResponse model to backend
- Return SuggestedGoalResponse instead of ErrorResponse for vague/unachievable goals
- Update system prompt with guidance for suggested_goal and clarifying_questions feedback loops
- Add SuggestedGoalCard frontend component with amber styling and "Use this goal" button
- Add error recovery buttons ("Try again", "Simplify goal") to error output
- Update openapi.json and frontend helpers/type guards for the new response type
- Add create_agent_test.py covering all decomposition result types
2026-02-17 11:57:36 +04:00
..