You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LLM Call: Improve maintainability and consistency #922
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
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
Activity
[-]LLM Call: Change magic string to enums for CompletionType and Providers and Other Chores[/-][+]LLM Call: Improve maintainability and consistency[/+]