feat(weave): TS SDK: allows call handle to be returned
Description
Adds a new invoke method to ops that returns both the result and a Call object, allowing users to update call metadata after execution. The Call object provides a setDisplayName method to change the display name of a call even after it has completed.
Testing
Tested by creating ops, calling them with the new invoke method, and verifying that the returned Call object can be used to update the display name both during and after execution.
Some unit tests scenarios are authored as well.
- #4514
: 2 dependent PRs (#4515
, #4516
) 👈 (View in Graphite) master
This stack of pull requests is managed by Graphite. Learn more about stacking.
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=ebacffef4eb32ecdebd6450afbfba206c9c20662