[router] add reasoning and tool parser argument in router (#11290)
This commit is contained in:
@@ -281,6 +281,12 @@ struct CliArgs {
|
||||
|
||||
#[arg(long, env = "ATP_POOL_TIMEOUT_SECS")]
|
||||
oracle_pool_timeout_secs: Option<u64>,
|
||||
|
||||
#[arg(long)]
|
||||
reasoning_parser: Option<String>,
|
||||
|
||||
#[arg(long)]
|
||||
tool_call_parser: Option<String>,
|
||||
}
|
||||
|
||||
enum OracleConnectSource {
|
||||
@@ -557,6 +563,8 @@ impl CliArgs {
|
||||
tokenizer_path: self.tokenizer_path.clone(),
|
||||
history_backend,
|
||||
oracle,
|
||||
reasoning_parser: self.reasoning_parser.clone(),
|
||||
tool_call_parser: self.tool_call_parser.clone(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user