classify LLM Error • TypeScript AI Agent SDK
classifyLLMError: API reference for classifyLLMError
classifyLLMError
Function
</div>
This function is defined in the llm module.
Signature
def classifyLLMError(error: unknown) -> LLMErrorKindReturns
ResponseField
LLMErrorKindThe result of the operation.
Uses
E
Source
View on GitHubsrc/llm/index.ts at line 137