File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
lib/llm/src/protocols/openai/chat_completions Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
// See the License for the specific language governing permissions and
14
14
// limitations under the License.
15
15
16
- use dynamo_parsers:: { reasoning, ReasoningParser , ReasoningParserType } ;
16
+ use dynamo_parsers:: { reasoning, ReasoningParserType } ;
17
17
18
18
use super :: { NvCreateChatCompletionRequest , NvCreateChatCompletionStreamResponse } ;
19
19
use crate :: {
@@ -198,7 +198,8 @@ impl DeltaGenerator {
198
198
if text. is_none ( ) {
199
199
return ( None , None ) ;
200
200
}
201
- let mut reasoning_parser = ReasoningParserType :: get_reasoning_parser ( self . reasoning_parser_type ) ;
201
+ let mut reasoning_parser =
202
+ ReasoningParserType :: get_reasoning_parser ( self . reasoning_parser_type ) ;
202
203
let parser_result = reasoning_parser. parse_reasoning_streaming_incremental (
203
204
text. as_deref ( ) . expect ( "Text should not be None" ) ,
204
205
) ;
You can’t perform that action at this time.
0 commit comments