fischer-agentkit/src/agentkit/memory
chiguyong 34a89c4873 refactor(llm+memory+client): remove Any from type signatures
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
2026-07-01 02:03:51 +08:00
..
adapters refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
__init__.py merge: integrate feat/agentkit-phase8-chat-adaptive (chat/gui commands + GUI mode) 2026-06-10 07:44:06 +08:00
base.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
chunking.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
contextual_retrieval.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
document_loader.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
embedder.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
episodic.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
http_rag.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
knowledge_base.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
local_rag.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
models.py feat(skills): SkillHarness 前置条件 + 风险守卫学习增强 2026-06-24 18:56:51 +08:00
multi_source_retriever.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
profile.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
query_transformer.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
rag_loop.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
relevance_scorer.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
retriever.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
semantic.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00
working.py refactor(llm+memory+client): remove Any from type signatures 2026-07-01 02:03:51 +08:00