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 @@ -144,7 +144,7 @@ impl ReasoningParserType {
144
144
}
145
145
146
146
pub fn get_reasoning_parser_from_name ( name : & str ) -> ReasoningParserWrapper {
147
- tracing:: debug!( "Selected reasoning parser: {name} " ) ;
147
+ tracing:: debug!( parser_name = name , "Selected reasoning parser" ) ;
148
148
match name. to_lowercase ( ) . as_str ( ) {
149
149
"deepseek_r1" => Self :: DeepseekR1 . get_reasoning_parser ( ) ,
150
150
"basic" => Self :: Basic . get_reasoning_parser ( ) ,
@@ -156,7 +156,8 @@ impl ReasoningParserType {
156
156
"mistral" => Self :: Mistral . get_reasoning_parser ( ) ,
157
157
_ => {
158
158
tracing:: warn!(
159
- "Unknown reasoning parser type '{name}', falling back to Basic Reasoning Parser" ,
159
+ parser_name = name,
160
+ "Unknown reasoning parser type, falling back to Basic Reasoning Parser" ,
160
161
) ;
161
162
Self :: Basic . get_reasoning_parser ( )
162
163
}
You can’t perform that action at this time.
0 commit comments