The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(attachments): use resolved context for vision support check
Steven Enamakele3c40ea668bb
diff --git a/crates/openhuman-core/src/attachments/provider.rs b/crates/openhuman-core/src/attachments/provider.rsindex 0c57b30c77..d7363a101f 100644--- a/crates/openhuman-core/src/attachments/provider.rs+++ b/crates/openhuman-core/src/attachments/provider.rs@@ -34,7 +34,9 @@ pub(crate) fn wrap(.map(|p| p.modalities).unwrap_or_default();if provider == "openhuman" || provider == "managed" {- profile.modalities.image_in = crate::inference::registry::provider_model_supports_vision(+ let resolved_context = ctx.resolved();+ profile.modalities.image_in = crate::inference::registry::provider_model_supports_vision_for(+ resolved_context.as_deref().map(crate::core::runtime::CoreContext::extensions),crate::inference::provider::factory::PROVIDER_OPENHUMAN,model,);