Eliminate 172 Any usages across llm/, memory/, client/ via: - TypeAlias (MetadataValue, MetadataDict, RAGSearchResult, etc.) - object for arbitrary dict/value types - TYPE_CHECKING Protocol for Redis/Quota/RAG/Graph services - TYPE_CHECKING import + string annotations for forward refs - Remove unused Any imports (18 F401 fixed) Tests: 253 passed (llm 21 failures are pre-existing litellm env issue) ruff: All checks passed |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| anthropic.py | ||
| doubao.py | ||
| gemini.py | ||
| litellm_provider.py | ||
| openai.py | ||
| tracker.py | ||
| usage_store.py | ||
| wenxin.py | ||
| yuanbao.py | ||