Download TaskSolver/tasksolver/exceptions.py from yiranranranra/blender: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/yiranranranra/blender/resolve/main/TaskSolver/tasksolver/exceptions.py
- Command line
-
hf download hf://yiranranranra/blender/TaskSolver/tasksolver/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/yiranranranra/blender/resolve/main/TaskSolver/tasksolver/exceptions.py
1.34 kB
| class ToolCallException(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised in tools when the tool usage raised an error | |
| @GPT4-doc-end | |
| """ | |
| pass | |
| class GPTOutputParseException(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised in parsers when input is not parseable. | |
| @GPT4-doc-end | |
| """ | |
| pass | |
| class GPTServerError(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised in ask() when GPT api returns an error message | |
| @GPT4-doc-end | |
| """ | |
| pass | |
| class GPTMaxTriesExceededException(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised in ask() when max attempt threshold has been exceeded. | |
| @GPT4-doc-end | |
| """ | |
| pass | |
| class InvalidParsedAnswer(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised in the visualizer when input ParsedAnswer can't be made into | |
| a valid visualization. | |
| @GPT4-doc-end | |
| """ | |
| pass | |
| class UnreadableGPTDocumentation(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised when the documentation of a specified function cannot be read | |
| by GPT-4V, either because the documentation doesn't exist or the proper | |
| tags are not inside it. | |
| @GPT4-doc-end | |
| """ | |
| pass | |
| class CodeExecutionException(Exception): | |
| """ | |
| @GPT4-doc-begin | |
| raised when the execution of the LLM-produced code results in an error, | |
| and stops execution. | |
| @GPT4-doc-end | |
| """ | |
| pass |