Skip to content

Commit 4beafc1

Browse files
committed
chore: fix clippy lints
1 parent b0a25f4 commit 4beafc1

File tree

1 file changed

+3
-3
lines changed
  • crates/rullm-cli/src/commands

1 file changed

+3
-3
lines changed

crates/rullm-cli/src/commands/chat.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use rullm_core::simple::{SimpleLlm, SimpleLlmClient};
1414
use rullm_core::types::{ChatRequestBuilder, ChatRole, ChatStreamEvent};
1515
use std::borrow::Cow;
1616
use std::io::{self, Write};
17-
use std::path::PathBuf;
17+
use std::path::Path;
1818
use std::time::{Duration, Instant};
1919

2020
use crate::{
@@ -41,7 +41,7 @@ impl ChatArgs {
4141
) -> Result<()> {
4242
let model_str = resolve_model(&cli.model, &self.model, &cli_config.config.default_model)?;
4343
let client = client::from_model(&model_str, cli, cli_config)?;
44-
run_interactive_chat(&client, None, &cli_config, !cli.no_streaming).await?;
44+
run_interactive_chat(&client, None, cli_config, !cli.no_streaming).await?;
4545
Ok(())
4646
}
4747
}
@@ -215,7 +215,7 @@ fn add_common_keybindings(keybindings: &mut reedline::Keybindings) {
215215
}
216216

217217
/// Setup reedline with all features
218-
fn setup_reedline(vim_mode: bool, data_path: &PathBuf) -> Result<Reedline> {
218+
fn setup_reedline(vim_mode: bool, data_path: &Path) -> Result<Reedline> {
219219
let completer = Box::new(SlashCommandCompleter::new());
220220

221221
// Use the interactive menu to select options from the completer

0 commit comments

Comments
 (0)