From 01ea581f8ac8ec0aa291c60ada6f0d004c2c0410 Mon Sep 17 00:00:00 2001 From: Josh Knapp Date: Sun, 1 Mar 2026 03:15:50 +0000 Subject: [PATCH] Fix type inference error for api_key after removing ApiKey auth mode Both match arms now return None, so Rust needs an explicit type annotation for the Option. Co-Authored-By: Claude Opus 4.6 --- app/src-tauri/src/commands/project_commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src-tauri/src/commands/project_commands.rs b/app/src-tauri/src/commands/project_commands.rs index 0a1ea4d..e2d9ea6 100644 --- a/app/src-tauri/src/commands/project_commands.rs +++ b/app/src-tauri/src/commands/project_commands.rs @@ -125,7 +125,7 @@ pub async fn start_project_container( let image_name = container_config::resolve_image_name(&settings.image_source, &settings.custom_image_name); // Get API key only if auth mode requires it - let api_key = match project.auth_mode { + let api_key: Option = match project.auth_mode { AuthMode::Anthropic => { None }