Chainlit / literalai-python

https://docs.getliteral.ai/
Apache License 2.0
12 stars 0 forks source link

fix error handling for step and generation #52

Closed willydouhard closed 6 months ago

linear[bot] commented 6 months ago
ENG-967 Error should be bound to the step instead of the parent run.

## Description When an error occurs in a step, the error is added to the run instead of the step that failed. For clarity we should bind the error to the failing step instead. [image.png](https://uploads.linear.app/6a41a374-76e1-40c2-a405-51050761590c/0881c4d2-e621-428d-89f2-69b0f2982ac6/d744f864-a51d-44f9-9152-06bfb054adda) ## DoD * When a LLM step in a Run fails I should see the error at the LLM step level