fleet-memory/hindsight-api/hindsight_api/api
Nicolò Boschi ba99b4422a
fix: misc perf improvements (#133)
* fix: misc perf improvements

* more tests

* fix test

* fix: update test files for new extract_facts_from_text signature

- Replace test_fact_extraction_token_analysis with test_fact_extraction_basic_analysis
  using inline sample content instead of external file
- Update test_fact_extraction_output_ratio.py to unpack 3 return values
  (facts, chunks, usage) instead of 2

* fix: make temporal tests more flexible for LLM variation

- test_temporal_absolute_conversion: check occurred_start field instead of
  requiring specific text in facts
- test_date_field_calculation_yesterday: make assertions conditional on
  having temporal data, add more content for better extraction
- test_temporal_ordering: reduce minimum required facts from 3 to 2
2026-01-08 22:49:04 +01:00
..
__init__.py misc: add mcp integration tests and increase test coverage (#98) 2026-01-05 11:16:55 +01:00
http.py fix: misc perf improvements (#133) 2026-01-08 22:49:04 +01:00
mcp.py fix(mcp): add back bank list and create_bank tools (#123) 2026-01-08 14:02:28 +01:00