Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1274 <!-- ELLIPSIS_HIDDEN --> ---- > [!IMPORTANT] > Fix TypeScript tracing bugs in `BamlCtxManager` by handling undefined responses and ensuring proper return values. > > - **Behavior**: > - Fix `span.finish` in `BamlCtxManager` to handle undefined `response` by defaulting to an empty object. > - Ensure `ctx.run` returns the result in `traceFnSync` and `traceFnAsync` methods of `BamlCtxManager`. > > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup> for 8faf23e. It will automatically update as commits are pushed.</sup> <!-- ELLIPSIS_HIDDEN --> --------- Co-authored-by: aaronvg <aaron@boundaryml.com>
- Loading branch information