File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,6 +209,29 @@ multi_turn:
209209 # Number of repeat rollouts for each sample
210210 num_repeat_rollouts : null
211211
212+ # SearchAgent-Zero: schedule max search turns, e.g. "0:4,50:8"
213+ turn_limit_schedule : null
214+
215+ # SearchAgent-Zero: compress long search results before feeding back to the model
216+ enable_tool_response_summary : False
217+ summary_result_separator : " \\ n"
218+ summary_temperature : 0.6
219+ summary_top_p : 0.95
220+ summary_top_k : 20
221+ summary_max_tokens : 1024
222+ summary_use_external_model : False
223+ summary_external_base_urls : " "
224+ summary_external_model : " "
225+ summary_external_api_key : " "
226+ summary_external_timeout : 60.0
227+ summary_external_enable_thinking : False
228+
229+ # SearchAgent-Zero: max queries inside one search tool call
230+ max_queries_per_tool_call : null
231+
232+ # SearchAgent-Zero: duplicate search result detection threshold
233+ duplicate_search_result_overlap_threshold : 0.6666666666666666
234+
212235# support logging rollout prob for debugging purpose
213236# "Truncated importance sampling" requires rollout log probs, set to True when turning on Truncated importance sampling
214237calculate_log_probs : False
Original file line number Diff line number Diff line change @@ -86,6 +86,23 @@ class MultiTurnConfig(BaseConfig):
8686 format : str = "hermes"
8787 num_repeat_rollouts : Optional [int ] = None
8888
89+ # SearchAgent-Zero multi-turn search agent options
90+ turn_limit_schedule : Optional [str ] = None
91+ enable_tool_response_summary : bool = False
92+ summary_temperature : float = 0.6
93+ summary_top_p : float = 0.95
94+ summary_top_k : int = 20
95+ summary_max_tokens : int = 1024
96+ summary_use_external_model : bool = False
97+ summary_external_base_urls : str = ""
98+ summary_external_model : str = ""
99+ summary_external_api_key : str = ""
100+ summary_external_timeout : float = 60.0
101+ summary_external_enable_thinking : bool = False
102+ max_queries_per_tool_call : Optional [int ] = None
103+ duplicate_search_result_overlap_threshold : float = 2 / 3
104+ summary_result_separator : str = "\\ n"
105+
89106
90107@dataclass
91108class CustomAsyncServerConfig (BaseConfig ):
You can’t perform that action at this time.
0 commit comments