Fix type inference error for api_key after removing ApiKey auth mode
All checks were successful
Build App / build-linux (push) Successful in 2m42s
Build App / build-windows (push) Successful in 2m44s

Both match arms now return None, so Rust needs an explicit type
annotation for the Option<String>.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-01 03:15:50 +00:00
parent 552aaebf16
commit 01ea581f8a

View File

@@ -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); let image_name = container_config::resolve_image_name(&settings.image_source, &settings.custom_image_name);
// Get API key only if auth mode requires it // Get API key only if auth mode requires it
let api_key = match project.auth_mode { let api_key: Option<String> = match project.auth_mode {
AuthMode::Anthropic => { AuthMode::Anthropic => {
None None
} }