Skip to content

[Refactor] Move LLM provider strings to type-safe enum in pkg/types #59

@DFanso

Description

@DFanso

Currently, LLM provider names are hardcoded as strings throughout the codebase, which can lead to:

  • Typos and inconsistencies
  • No compile-time validation
  • Difficulty adding new providers
  • Magic strings scattered across files

Proposed Solution
Create a type-safe enum for LLM providers in pkg/types/types.go and update all references throughout the codebase.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestgoPull requests that update go codegood first issueGood for newcomershacktoberfestEligible for Hacktoberfest

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions