wandb / weave

Weave is a toolkit for developing AI-powered applications, built by Weights & Biases.
https://wandb.me/weave
Apache License 2.0
674 stars 52 forks source link

fix(weave): Add better handling for functions missing source #1865

Closed andrewtruong closed 2 months ago

andrewtruong commented 3 months ago

Resolves:

This PR provides better handling for functions that are missing source (e.g. if they were exec'd into existence). Instead of crashing the user script, we pass the call and put a placeholder saying we weren't able to save their code.

Some improvements from here:

  1. Add a reason why we couldn't save it
  2. Promote "anonymous op" (not sure if we need this)
circle-job-mirror[bot] commented 3 months ago

Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=a644f195cc0bd87791588945e5457b2fdf41173a