Is the ensure_config() function work? #1385
-
Python version: 3.12 Hi,I encountered a problem
when I run the case, I get the result like this:
I print the return of ensure_config function like this, the configurable is empty
I just used a different llm model than the tutorial, I use AzureChatOpenAI not ChatAnthropic. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I'm facing the same issue, it was working a couple weeks ago and now my
|
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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