style: run cargo fmt to fix formatting
All checks were successful
PR Review Automation / review (pull_request) Successful in 2m19s
All checks were successful
PR Review Automation / review (pull_request) Successful in 2m19s
Fix formatting in integrations.rs and ollama/installer.rs per cargo fmt. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9b8f4fffe2
commit
57fff0c8a2
@ -333,7 +333,9 @@ pub async fn initiate_oauth(
|
|||||||
app_data_dir,
|
app_data_dir,
|
||||||
integration_webviews,
|
integration_webviews,
|
||||||
mcp_connections,
|
mcp_connections,
|
||||||
pending_approvals: Arc::new(tokio::sync::Mutex::new(std::collections::HashMap::new())),
|
pending_approvals: Arc::new(tokio::sync::Mutex::new(
|
||||||
|
std::collections::HashMap::new(),
|
||||||
|
)),
|
||||||
};
|
};
|
||||||
while let Some(callback) = callback_rx.recv().await {
|
while let Some(callback) = callback_rx.recv().await {
|
||||||
tracing::info!("Received OAuth callback for state: {}", callback.state);
|
tracing::info!("Received OAuth callback for state: {}", callback.state);
|
||||||
|
|||||||
@ -250,9 +250,7 @@ pub async fn start_ollama_service() -> anyhow::Result<bool> {
|
|||||||
// On Windows, Ollama runs as a service, check if we can start it
|
// On Windows, Ollama runs as a service, check if we can start it
|
||||||
tracing::info!("Attempting to start Ollama on Windows...");
|
tracing::info!("Attempting to start Ollama on Windows...");
|
||||||
if let Some(ollama_bin) = find_ollama_binary() {
|
if let Some(ollama_bin) = find_ollama_binary() {
|
||||||
let result = std::process::Command::new(&ollama_bin)
|
let result = std::process::Command::new(&ollama_bin).arg("serve").spawn();
|
||||||
.arg("serve")
|
|
||||||
.spawn();
|
|
||||||
|
|
||||||
match result {
|
match result {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user