adding step_exception to provide more signal of why the step failed (#730)
This commit is contained in:
@@ -40,6 +40,11 @@ class LLMProviderError(BaseLLMError):
|
||||
super().__init__(f"Error while using LLMProvider {llm_key}")
|
||||
|
||||
|
||||
class LLMProviderErrorRetryableTask(LLMProviderError):
|
||||
def __init__(self, llm_key: str) -> None:
|
||||
super().__init__(f"Retryable error while using LLMProvider {llm_key}")
|
||||
|
||||
|
||||
class NoProviderEnabledError(BaseLLMError):
|
||||
def __init__(self) -> None:
|
||||
super().__init__(
|
||||
|
||||
Reference in New Issue
Block a user