@@ -14,7 +14,7 @@ use rullm_core::simple::{SimpleLlm, SimpleLlmClient};
1414use  rullm_core:: types:: { ChatRequestBuilder ,  ChatRole ,  ChatStreamEvent } ; 
1515use  std:: borrow:: Cow ; 
1616use  std:: io:: { self ,  Write } ; 
17- use  std:: path:: PathBuf ; 
17+ use  std:: path:: Path ; 
1818use  std:: time:: { Duration ,  Instant } ; 
1919
2020use  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