Backport: Agentic Shell Command Execution (v1.0.0 → v1.0.8) #66
@ -333,7 +333,9 @@ pub async fn initiate_oauth(
|
||||
app_data_dir,
|
||||
integration_webviews,
|
||||
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 {
|
||||
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
|
||||
tracing::info!("Attempting to start Ollama on Windows...");
|
||||
if let Some(ollama_bin) = find_ollama_binary() {
|
||||
let result = std::process::Command::new(&ollama_bin)
|
||||
.arg("serve")
|
||||
.spawn();
|
||||
let result = std::process::Command::new(&ollama_bin).arg("serve").spawn();
|
||||
|
||||
match result {
|
||||
Ok(_) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user