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

Issue: Langsmith playground error for tool call #1448

Open
yuriy-outpace opened this issue Jan 22, 2025 · 0 comments
Open

Issue: Langsmith playground error for tool call #1448

yuriy-outpace opened this issue Jan 22, 2025 · 0 comments

Comments

@yuriy-outpace
Copy link

Issue you'd like to raise.

I'm running a LangGraph flow with tool calls and have a response node that generates a response based on the tool calls/responses. When I run LangSmith Playground on this response node, which sees message history, including tool call and tool response message info, I get the following error in a popup on the bottom right of the LangSmith page:

tool_call() got an unexpected keyword argument 'artifact'

The artifact it refers to is likely my use of tool artifacts to retrieve from the tool not just what I want the response node LLM to see but also an artifact with more comprehensive data that I use for various logic outside of the response node. Here's documentation on artifacts: https://python.langchain.com/docs/how_to/tool_artifacts/.

It seems like there's just a bug in LangSmith Playground that doesn't handle artifacts well, but please let me know if I should do something differently.

Suggestion:

No response

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

No branches or pull requests

1 participant