Download src/utils/exceptions.py from lekmikdok/hyp: direct link, hf CLI and curl.
- Browser
- Download file 809 Bytes
-
https://huggingface.co/spaces/lekmikdok/hyp/resolve/main/src/utils/exceptions.py
- Command line
-
hf download hf://spaces/lekmikdok/hyp/src/utils/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/lekmikdok/hyp/resolve/main/src/utils/exceptions.py
809 Bytes
| # Custom exceptions for the AI Co-Scientist system | |
| class AICoScientistError(Exception): | |
| """Base exception class for all AI Co-Scientist errors.""" | |
| pass | |
| class ConfigError(AICoScientistError): | |
| """Exception raised for errors in the configuration.""" | |
| pass | |
| class AgentError(AICoScientistError): | |
| """Exception raised for errors related to agents.""" | |
| pass | |
| class ToolError(AICoScientistError): | |
| """Exception raised for errors related to tools.""" | |
| pass | |
| class ValidationError(AICoScientistError): | |
| """Exception raised for validation errors.""" | |
| pass | |
| class ModelError(AICoScientistError): | |
| """Exception raised for errors related to the LLM models.""" | |
| pass | |
| class WorkflowError(AICoScientistError): | |
| """Exception raised for errors in the research workflow.""" | |
| pass | |