Skip to content

Implement the LLM provider contract #34

@Hell1213

Description

@Hell1213

Description

The src/oss_dev/providers/llm/ directory is currently empty. The LLMProvider abstract base class is defined in src/oss_dev/core/contracts/provider.py with methods: chat_completion, count_tokens, model_name, context_window.

Implement a concrete LLM provider that wraps the existing client/llm_client.py logic behind this contract interface.

Tasks

  • Create src/oss_dev/providers/llm/client.py with GeminiLLMProvider implementation
  • Implement all 4 abstract methods
  • Wire it into the ProviderRegistry
  • Write tests

Skills Required

  • Python
  • Abstract base classes
  • LLM API integration

Difficulty

Intermediate-level2,gssoc-ext

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgssocGirlScript Summer of Codegssoc-extGSSoC Extended contributionlevel2Intermediate: Requires some experience (25 points)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions