Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
takanotume24 authored Dec 19, 2024
2 parents 4bb54d3 + aa75743 commit 2cc6db6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src-tauri/src/init_config_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ pub fn init_config_file() -> Result<(), io::Error> {
let mut file = fs::File::create(&config_path)?;
writeln!(file, "openai_api_key = \"\"")?;
writeln!(file, "default_model = \"gpt-3.5-turbo\"")?;

println!("Configuration file created at {:?}", config_path);
}

Ok(())
}
}
2 changes: 1 addition & 1 deletion src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ pub fn run() {
])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
}
2 changes: 1 addition & 1 deletion src-tauri/src/run_migrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!();

pub fn run_migrations(connection: &mut SqliteConnection) -> Result<(), Box<dyn std::error::Error + Send + Sync + 'static>> {
connection.run_pending_migrations(MIGRATIONS).map(|_| ())
}
}

0 comments on commit 2cc6db6

Please sign in to comment.