We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40adfb6 commit 5f613e6Copy full SHA for 5f613e6
1 file changed
sdk-python/copilotkit/langgraph_agent.py
@@ -261,7 +261,7 @@ async def _stream_events( # pylint: disable=too-many-locals
261
):
262
263
default_config = ensure_config(cast(Any, self.langgraph_config.copy()) if self.langgraph_config else {}) # pylint: disable=line-too-long
264
- config = {**default_config, **config}
+ config = {**default_config, **(self.graph.config or {}), **config}
265
config["configurable"] = {**config.get("configurable", {}), **(config["configurable"] or {})}
266
config["configurable"]["thread_id"] = thread_id
267
0 commit comments