From 3c3900fac63e3c96e886dfd7a4038aa7b0440948 Mon Sep 17 00:00:00 2001 From: joachim-danswer Date: Thu, 23 Jan 2025 13:29:13 -0800 Subject: [PATCH] turning off initial search pre route decision --- backend/onyx/agents/agent_search/run_graph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/onyx/agents/agent_search/run_graph.py b/backend/onyx/agents/agent_search/run_graph.py index fe78e4487..6f460a30a 100644 --- a/backend/onyx/agents/agent_search/run_graph.py +++ b/backend/onyx/agents/agent_search/run_graph.py @@ -135,7 +135,7 @@ def run_graph( input: BasicInput | MainInput_a, ) -> AnswerStream: # TODO: add these to the environment - config.perform_initial_search_path_decision = True + config.perform_initial_search_path_decision = False config.perform_initial_search_decomposition = True config.allow_refinement = True @@ -221,7 +221,7 @@ if __name__ == "__main__": ) # search_request.persona = get_persona_by_id(1, None, db_session) config.use_persistence = True - config.perform_initial_search_path_decision = True + config.perform_initial_search_path_decision = False config.perform_initial_search_decomposition = True if GRAPH_NAME == "a": input = MainInput_a(