Skip to content

Commit

Permalink
v1.7.1
Browse files Browse the repository at this point in the history
Trying to fix path display for windows.
  • Loading branch information
efugier committed Oct 21, 2024
1 parent 4f1a91f commit 9d5ebd7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "smartcat"
version = "1.7.0"
version = "1.7.1"
authors = ["Emilien Fugier <[email protected]>"]
description = '''
Putting a brain behind `cat`.
Expand Down
6 changes: 3 additions & 3 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn ensure_config_files() -> std::io::Result<()> {
if interactive {
println!(
"Prompt config file not found at {:?}, generating one.\n...",
prompts_path()
prompts_path().into_os_string()
);
}
generate_prompts_file()?
Expand All @@ -52,15 +52,15 @@ pub fn ensure_config_files() -> std::io::Result<()> {
if !voice_config_path().exists() {
println!(
"Voice config file not found at {:?}, generating one.\n...",
()
voice_config_path().into_os_string()
);
generate_voice_file().expect("Unable to generate config files");
};

if !api_keys_path().exists() {
println!(
"API config file not found at {:?}, generating one.\n...",
api_keys_path()
api_keys_path().into_os_string()
);
generate_api_keys_file().expect("Unable to generate config files");
if interactive {
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const DEFAULT_PROMPT_NAME: &str = "default";
#[command(
name = "smartcat (sc)",
author = "Emilien Fugier",
version = "1.7.0",
version = "1.7.1",
about = "Putting a brain behind `cat`. CLI interface to bring language models in the Unix ecosystem 🐈‍⬛",
long_about = None,
after_help = "Examples:
Expand Down

0 comments on commit 9d5ebd7

Please sign in to comment.