Skip to content

Commit 9ca1004

Browse files
fix: cargo clippy
1 parent 54192f1 commit 9ca1004

File tree

1 file changed

+3
-2
lines changed
  • lib/llm/src/protocols/openai/chat_completions

1 file changed

+3
-2
lines changed

lib/llm/src/protocols/openai/chat_completions/delta.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
use dynamo_parsers::{reasoning, ReasoningParser, ReasoningParserType};
16+
use dynamo_parsers::{reasoning, ReasoningParserType};
1717

1818
use super::{NvCreateChatCompletionRequest, NvCreateChatCompletionStreamResponse};
1919
use crate::{
@@ -198,7 +198,8 @@ impl DeltaGenerator {
198198
if text.is_none() {
199199
return (None, None);
200200
}
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);
202203
let parser_result = reasoning_parser.parse_reasoning_streaming_incremental(
203204
text.as_deref().expect("Text should not be None"),
204205
);

0 commit comments

Comments
 (0)