Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traceable: Add option to configure which args are sent as inputs to langsmith #643

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nfcampos
Copy link
Contributor

No description provided.

@@ -135,7 +135,7 @@ test.concurrent("Test traceable wrapper with async error thrown", async () => {

expect(collectedRun).not.toBeNull();
expect(collectedRun!.error).toEqual("Error: I am bad");
expect(collectedRun!.inputs).toEqual({ args: ["testing", 9] });
expect(collectedRun!.inputs).toEqual({ 0: "testing", 1: 9 });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this is likely a breaking change for runOnDataset in LangChain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants