@@ -121,10 +121,6 @@ def web_fetch(
121
121
base_question = graph_config .inputs .prompt_builder .raw_user_query
122
122
research_type = graph_config .behavior .research_type
123
123
124
- logger .debug (
125
- f"Web Fetch for Internet Search { iteration_nr } .{ parallelization_nr } at { datetime .now ()} "
126
- )
127
-
128
124
if graph_config .inputs .persona is None :
129
125
raise ValueError ("persona is not set" )
130
126
@@ -155,19 +151,13 @@ def web_fetch(
155
151
156
152
document_texts = "\n \n " .join (document_texts_list )
157
153
158
- logger .debug (
159
- f"Fetch end/LLM start for Internet Search { iteration_nr } .{ parallelization_nr } at { datetime .now ()} "
160
- )
161
-
162
- # Process with LLM based on research type
163
154
if research_type == ResearchType .DEEP :
164
155
search_prompt = INTERNAL_SEARCH_PROMPTS [research_type ].build (
165
156
search_query = state .branch_question or "" ,
166
157
base_question = base_question ,
167
158
document_text = document_texts ,
168
159
)
169
160
170
- # Run LLM
171
161
search_answer_json = invoke_llm_json (
172
162
llm = graph_config .tooling .primary_llm ,
173
163
prompt = create_question_prompt (
@@ -177,11 +167,6 @@ def web_fetch(
177
167
timeout_override = 40 ,
178
168
)
179
169
180
- logger .debug (
181
- f"LLM/all done for Internet Search { iteration_nr } .{ parallelization_nr } at { datetime .now ()} "
182
- )
183
-
184
- # Get cited documents
185
170
answer_string = search_answer_json .answer
186
171
claims = search_answer_json .claims or []
187
172
reasoning = search_answer_json .reasoning or ""
0 commit comments