CodeReview/backend/app/services/llm/adapters
lintsinghua 4f0e8a2982 refactor(llm): simplify model name formatting logic in LiteLLMAdapter
- Remove redundant check for CUSTOM_BASE_URL_PROVIDERS
- Consolidate model name prefix logic into single code path
- Move prefix retrieval after model name validation
- Improve code clarity by eliminating unnecessary conditional branches
- Maintain backward compatibility with existing model name formats
2025-12-09 21:13:14 +08:00
..
__init__.py refactor(llm): consolidate LLM adapters with LiteLLM unified layer 2025-11-28 16:41:39 +08:00
baidu_adapter.py refactor(llm): consolidate LLM adapters with LiteLLM unified layer 2025-11-28 16:41:39 +08:00
doubao_adapter.py refactor(llm): consolidate LLM adapters with LiteLLM unified layer 2025-11-28 16:41:39 +08:00
litellm_adapter.py refactor(llm): simplify model name formatting logic in LiteLLMAdapter 2025-12-09 21:13:14 +08:00
minimax_adapter.py refactor(llm): consolidate LLM adapters with LiteLLM unified layer 2025-11-28 16:41:39 +08:00