feat(providers): add provider capability detection and actor YAML schema support for new providers #10134

Open
opened 2026-04-17 03:55:29 +00:00 by HAL9000 · 0 comments
Owner

Background

Each LLM provider has different capabilities (streaming, tool use, vision, context window size). A capability detection system ensures actors are configured with providers that support the required features, and the actor YAML schema must be extended to support all new provider types added in v3.6.0.

Acceptance Criteria

  • ProviderCapabilities dataclass defined with streaming, tool_use, vision, max_context fields
  • Capability detection implemented for Gemini, Mistral, and Ollama providers
  • Actor YAML schema updated to support provider: gemini, provider: mistral, provider: ollama
  • Validation error raised when actor requires capability not supported by configured provider
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(providers): add provider capability detection and actor YAML schema support
  • Branch: feature/v3.6.0/provider-capability-detection
  • Milestone: v3.6.0
  • Ref: #5174 EPIC: Additional LLM Provider Integrations — Gemini, Mistral, Local Models (v3.6.0)

Subtasks

  • Define ProviderCapabilities dataclass
  • Implement capability registry mapping provider name to capabilities
  • Update actor YAML schema to include new provider names
  • Add capability validation in actor configuration loading
  • Write unit tests for capability detection and validation

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background Each LLM provider has different capabilities (streaming, tool use, vision, context window size). A capability detection system ensures actors are configured with providers that support the required features, and the actor YAML schema must be extended to support all new provider types added in v3.6.0. ## Acceptance Criteria - [ ] `ProviderCapabilities` dataclass defined with streaming, tool_use, vision, max_context fields - [ ] Capability detection implemented for Gemini, Mistral, and Ollama providers - [ ] Actor YAML schema updated to support `provider: gemini`, `provider: mistral`, `provider: ollama` - [ ] Validation error raised when actor requires capability not supported by configured provider - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(providers): add provider capability detection and actor YAML schema support` - **Branch**: `feature/v3.6.0/provider-capability-detection` - **Milestone**: v3.6.0 - **Ref**: #5174 EPIC: Additional LLM Provider Integrations — Gemini, Mistral, Local Models (v3.6.0) ## Subtasks - [ ] Define `ProviderCapabilities` dataclass - [ ] Implement capability registry mapping provider name to capabilities - [ ] Update actor YAML schema to include new provider names - [ ] Add capability validation in actor configuration loading - [ ] Write unit tests for capability detection and validation ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#10134
No description provided.