Skip to content

Is the ensure_config() function work? #1385

Closed Answered by vbarda
xiaochaohit asked this question in Q&A
Discussion options

You must be logged in to vote

this is not the right way to pass config into the tool -- you should just have config as one of the arguments in the tool function, see here https://langchain-ai.github.io/langgraph/how-tos/pass-config-to-tools/#define-tools-and-model

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@levi-katarok
Comment options

@vbarda
Comment options

@levi-katarok
Comment options

@vbarda
Comment options

Answer selected by vbarda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants