fix: address headless loading bug (#8633)

This commit is contained in:
Nate Sesti 2025-11-07 17:54:39 -08:00 • committed by GitHub
parent d75a3f34f1
commit 1ed5d1c83f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,7 @@ function determineConfigSource(
} else {
// In headless, user assistant fallback behavior isn't supported
if (isHeadless) {
return { type: "no-config" };
return { type: "default-agent" };
}
// Authenticated: try user assistants first
return { type: "user-assistant", slug: "" }; // Empty slug means "first available"