文件最后提交记录最后更新时间
refactor: dead code removal and embedding model migration to bge-m3 Remove unused code across the codebase and migrate embedding model from bge-large-en-v1.5 (dim 1536) to bge-m3 (dim 1024). Dead code removed: - lifecycle/aging_job.py (entire module) - OwnerScope enum, unused VectorIndex methods - _flush_session, poll_task/TaskStatus, _normalize_path - GPT-3.5 constants, get_st_embedder, UserInfo dataclass Cleanup: unused imports, datetime.utc modernization, import sorting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> 1 个月前
feat(providers): add MockEmbedder for testing - MockEmbedder: deterministic vectors based on text hash - ZeroEmbedder: zero vectors for isolation testing - Unit tests: 8 tests covering basic behavior 2 个月前
feat(providers): add token usage tracking for LLM and embeddings - Add TokenTracker with thread-safe counters for input/output/cache tokens and call counts - Track LLM usage (input_tokens, output_tokens, cache_read, cache_write, llm_calls) - Track embedding usage (embed_tokens, embed_calls) - Expose snapshot and snapshot_and_reset for cumulative reporting 1 个月前
refactor: dead code removal and embedding model migration to bge-m3 Remove unused code across the codebase and migrate embedding model from bge-large-en-v1.5 (dim 1536) to bge-m3 (dim 1024). Dead code removed: - lifecycle/aging_job.py (entire module) - OwnerScope enum, unused VectorIndex methods - _flush_session, poll_task/TaskStatus, _normalize_path - GPT-3.5 constants, get_st_embedder, UserInfo dataclass Cleanup: unused imports, datetime.utc modernization, import sorting. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> 1 个月前
fix: make ingest() write to session buffer to prevent compact empty_buffer OperatorAgent calls compact() before after_turn(), which meant the session buffer was always empty at compact time. Now ingest() writes messages to the session buffer, and after_turn() deduplicates against ingest-written messages to avoid double-writing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> 26 天前