CodeReview/backend/app/services/llm
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
..
adapters refactor(llm): simplify model name formatting logic in LiteLLMAdapter 2025-12-09 21:13:14 +08:00
__init__.py refactor: 重构项目结构,将前端和后端代码分离到独立目录 2025-11-26 21:11:12 +08:00
base_adapter.py feat: Refactor frontend layout with new sidebar and i18n, update backend LLM adapters, and adjust database models. 2025-11-27 18:01:57 +08:00
factory.py feat(llm): enhance LLM connection testing with improved error handling and adapter instantiation 2025-11-28 16:53:01 +08:00
service.py fix: 修复时间显示问题,使用带时区的UTC时间 2025-12-09 17:47:34 +08:00
types.py feat(llm): enhance LLM connection testing with improved error handling and adapter instantiation 2025-11-28 16:53:01 +08:00