Refactor: Create providers package to modularize LLM client implementations #1532
Labels
enhancement
New feature or request
python
Pull requests that update python code
size:M
This PR changes 30-99 lines, ignoring generated files.
The current flat structure with individual
client_*.py
files has become difficult to maintain as we add more providers. We should reorganize into a proper provider package structure.Current problems:
client_*.py
andprocess_response.py
Proposed solution:
Each provider module would contain:
from_openai
)process_response.py
)Implementation steps:
providers/
directory with placeholder__init__.py
andbase.py
client_*.py
file into corresponding provider module with non-conflicting namesprocess_response.py
to provider modulesThe text was updated successfully, but these errors were encountered: