fix: Re-enable subagents for Gemini models (#6513)

Signed-off-by: rabi <ramishra@redhat.com>
This commit is contained in:
Rabi Mishra
2026-01-28 22:41:52 +05:30
committed by GitHub
parent b4cf0fdf51
commit 932923e31b
-8
View File
@@ -784,14 +784,6 @@ impl Agent {
if self.config.goose_mode != GooseMode::Auto {
return false;
}
if self
.provider()
.await
.map(|provider| provider.get_active_model_name().starts_with("gemini"))
.unwrap_or(false)
{
return false;
}
let context = self.extension_manager.get_context();
if matches!(
context