diff --git a/backend/onyx/agents/agent_search/basic/graph_builder.py b/backend/onyx/agents/agent_search/basic/graph_builder.py index 43e3d0a67..8e09b62e1 100644 --- a/backend/onyx/agents/agent_search/basic/graph_builder.py +++ b/backend/onyx/agents/agent_search/basic/graph_builder.py @@ -85,7 +85,7 @@ if __name__ == "__main__": graph = basic_graph_builder() compiled_graph = graph.compile() - input = BasicInput(_unused=True) + input = BasicInput(unused=True) primary_llm, fast_llm = get_default_llms() with get_session_context_manager() as db_session: config, _ = get_test_config( diff --git a/backend/onyx/agents/agent_search/basic/states.py b/backend/onyx/agents/agent_search/basic/states.py index c862b15bf..0e5b7ea8a 100644 --- a/backend/onyx/agents/agent_search/basic/states.py +++ b/backend/onyx/agents/agent_search/basic/states.py @@ -17,7 +17,7 @@ from onyx.agents.agent_search.orchestration.states import ToolChoiceUpdate class BasicInput(BaseModel): # Langgraph needs a nonempty input, but we pass in all static # data through a RunnableConfig. - _unused: bool = True + unused: bool = True ## Graph Output State diff --git a/backend/onyx/agents/agent_search/run_graph.py b/backend/onyx/agents/agent_search/run_graph.py index bffd60f77..833243d50 100644 --- a/backend/onyx/agents/agent_search/run_graph.py +++ b/backend/onyx/agents/agent_search/run_graph.py @@ -142,7 +142,7 @@ def run_basic_graph( ) -> AnswerStream: graph = basic_graph_builder() compiled_graph = graph.compile() - input = BasicInput() + input = BasicInput(unused=True) return run_graph(compiled_graph, config, input) diff --git a/backend/requirements/default.txt b/backend/requirements/default.txt index 8ba68dab1..bc23eb6d0 100644 --- a/backend/requirements/default.txt +++ b/backend/requirements/default.txt @@ -34,8 +34,8 @@ langchain-core==0.3.24 langchain-openai==0.2.9 langchain-text-splitters==0.3.2 langchainhub==0.1.21 -langgraph==0.2.59 -langgraph-checkpoint==2.0.5 +langgraph==0.2.72 +langgraph-checkpoint==2.0.13 langgraph-sdk==0.1.44 litellm==1.60.2 lxml==5.3.0