Rifqi Hafizuddin
Claude Opus 4.8
[KM-567][AI] Planner agent: contracts, schemas, inputs, registry
be96601 Download src/agents/planner/errors.py from DataEyond/Agentic-Service-Data-Eyond-Catalog: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/refs%2Fpr%2F2/src/agents/planner/errors.py
- Command line
-
hf download hf://spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog@refs/pr/2/src/agents/planner/errors.py
-
curl -L -o errors.py https://huggingface.co/spaces/DataEyond/Agentic-Service-Data-Eyond-Catalog/resolve/refs%2Fpr%2F2/src/agents/planner/errors.py
407 Bytes
| """Typed errors for the planner agent.""" | |
| from __future__ import annotations | |
| class PlannerError(Exception): | |
| """Base error for the planner agent.""" | |
| class PlannerValidationError(PlannerError): | |
| """A TaskList failed one of the planner validator's checks. | |
| The message is specific enough that the planner can be re-prompted with it | |
| to self-correct (max 3 attempts, see service.py). | |
| """ | |