feat(providers): implement dedicated Groq provider class with LangChain integration #3367

Open
opened 2026-04-05 14:39:08 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: feat/v3.6.0/groq-provider
  • Commit Message: feat(providers): implement dedicated Groq provider class with LangChain integration
  • Milestone: v3.6.0
  • Parent Epic: #3365

Background

Issue #3135 identified that Cohere, Groq, and Together AI providers lack dedicated provider classes and are only handled via generic LangChain dynamic imports. This issue implements the dedicated Groq provider class.

Expected Behavior

A dedicated GroqProvider class exists in cleveragents/providers/ that:

  • Implements the provider protocol/interface
  • Wraps the LangChain Groq integration
  • Supports Groq-specific configuration options (model, temperature, etc.)
  • Is registered in the provider registry under the groq/ namespace
  • Passes all relevant unit and integration tests

Acceptance Criteria

  • GroqProvider class implemented in cleveragents/providers/groq.py
  • Provider registered under groq/ namespace in provider registry
  • Actor config config.provider: groq resolves to GroqProvider
  • BDD unit tests cover provider initialization and invocation
  • nox -e typecheck passes with no suppressions
  • Coverage >= 97%

Dependencies

  • Blocked by: (none)
  • Blocks: #3365

Subtasks

  • Create cleveragents/providers/groq.py with GroqProvider class
  • Register GroqProvider in provider registry
  • Add BDD feature file for Groq provider
  • Add step definitions for Groq provider tests
  • Verify nox passes

Definition of Done

  • All subtasks completed
  • Tests written and passing
  • All nox stages pass
  • Coverage >= 97%

Automated by CleverAgents Bot
Supervisor: Unknown | Agent: ca-epic-planner

## Metadata - **Branch**: `feat/v3.6.0/groq-provider` - **Commit Message**: `feat(providers): implement dedicated Groq provider class with LangChain integration` - **Milestone**: v3.6.0 - **Parent Epic**: #3365 ## Background Issue #3135 identified that Cohere, Groq, and Together AI providers lack dedicated provider classes and are only handled via generic LangChain dynamic imports. This issue implements the dedicated Groq provider class. ## Expected Behavior A dedicated `GroqProvider` class exists in `cleveragents/providers/` that: - Implements the provider protocol/interface - Wraps the LangChain Groq integration - Supports Groq-specific configuration options (model, temperature, etc.) - Is registered in the provider registry under the `groq/` namespace - Passes all relevant unit and integration tests ## Acceptance Criteria - [ ] `GroqProvider` class implemented in `cleveragents/providers/groq.py` - [ ] Provider registered under `groq/` namespace in provider registry - [ ] Actor config `config.provider: groq` resolves to `GroqProvider` - [ ] BDD unit tests cover provider initialization and invocation - [ ] `nox -e typecheck` passes with no suppressions - [ ] Coverage >= 97% ## Dependencies - Blocked by: (none) - Blocks: #3365 ## Subtasks - [ ] Create `cleveragents/providers/groq.py` with `GroqProvider` class - [ ] Register `GroqProvider` in provider registry - [ ] Add BDD feature file for Groq provider - [ ] Add step definitions for Groq provider tests - [ ] Verify `nox` passes ## Definition of Done - [ ] All subtasks completed - [ ] Tests written and passing - [ ] All nox stages pass - [ ] Coverage >= 97% --- **Automated by CleverAgents Bot** Supervisor: Unknown | Agent: ca-epic-planner
freemo added this to the v3.6.0 milestone 2026-04-05 14:39:44 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: High — Dedicated Groq provider class is part of the v3.6.0 scope for additional LLM provider integrations.
  • Milestone: v3.6.0 (already set)
  • Story Points: 3 — M — Requires implementing a single provider class with LangChain integration, following the existing provider pattern. Estimated 4-8 hours.
  • MoSCoW: Should Have — Functional support exists via generic LangChain dynamic imports. A dedicated class improves reliability and error handling but is not strictly blocking.
  • Parent Epic: #3365

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

Issue triaged by project owner: - **State**: Verified - **Priority**: High — Dedicated Groq provider class is part of the v3.6.0 scope for additional LLM provider integrations. - **Milestone**: v3.6.0 (already set) - **Story Points**: 3 — M — Requires implementing a single provider class with LangChain integration, following the existing provider pattern. Estimated 4-8 hours. - **MoSCoW**: Should Have — Functional support exists via generic LangChain dynamic imports. A dedicated class improves reliability and error handling but is not strictly blocking. - **Parent Epic**: #3365 --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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.

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