Skip to content

LLM Call: Improve maintainability and consistency #922

Closed

Description

@Prajna1999

Is your feature request related to a problem?
The current implementation of llm_call relies on magic strings, making it less maintainable. Additionally, the file naming for provider execution is inconsistent, which can lead to confusion.

Describe the solution you'd like

  • Replace completion type strings (text, stt, tts, proxy, etc.) with their corresponding enums.
  • Apply the same change for providers.
  • Standardize file names for provider execution to be self-explanatory.
Original issue

Describe the current behavior
In llm_call execution all pathways are magic string dependent. Also the file names for provider execution are non standard i.e eai.py for elevenlabs.py etc

Describe the enhancement you'd like
Replace strings of completion types (text, stt, tts, proxy etc) to their enums. Same for providers also. And have self explanatory provider files

Activity

  1. self-assigned this
    on Jun 10, 2026
  2. added theissue type on Jun 10, 2026
  3. changed the title [-]LLM Call: Change magic string to enums for CompletionType and Providers and Other Chores[/-] [+]LLM Call: Improve maintainability and consistency[/+] on Jun 10, 2026
  4. moved this from To Do to In Progress in Kaapi-devon Jun 10, 2026
  5. moved this from In Progress to In Review in Kaapi-devon Jun 10, 2026
  6. moved this from In Review to Closed in Kaapi-devon Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

  • Status
    Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions