File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/parsers/src/reasoning Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -117,14 +117,15 @@ impl ReasoningParserType {
117
117
}
118
118
119
119
pub fn get_reasoning_parser_from_name ( name : & str ) -> ReasoningParserWrapper {
120
- tracing:: debug!( "Selected reasoning parser: {name} " ) ;
120
+ tracing:: debug!( parser_name = name , "Selected reasoning parser" ) ;
121
121
match name. to_lowercase ( ) . as_str ( ) {
122
122
"deepseek_r1" => Self :: DeepseekR1 . get_reasoning_parser ( ) ,
123
123
"basic" => Self :: Basic . get_reasoning_parser ( ) ,
124
124
"gpt_oss" => Self :: GptOss . get_reasoning_parser ( ) ,
125
125
_ => {
126
126
tracing:: warn!(
127
- "Unknown reasoning parser type '{name}', falling back to Basic Reasoning Parser" ,
127
+ parser_name = name,
128
+ "Unknown reasoning parser type, falling back to Basic Reasoning Parser" ,
128
129
) ;
129
130
Self :: Basic . get_reasoning_parser ( )
130
131
}
You can’t perform that action at this time.
0 commit comments