fleet-memory/hindsight-api/tests
Derek Bouius d6b7b9b398
Fix base CI issues and the defaults in .env.example (#24)
* Add the LLM_PROVIDER in example

* fix the assert in testing recall

* trial to fix failing client tests

NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.

* lock the sentence transformer packages to align with the breaking changes around lazy tensor loading

* Add the LLM_PROVIDER in example

* fix the assert in testing recall

* trial to fix failing client tests

* pre-cache the model so CI doesn't need workarounds

* remove assert that is a race condition

The test was checking that the bank count increased, but with parallel tests (-n 8), other tests can delete their banks while this test is running, causing a race condition. The important assertion is assert test_bank_id in final_banks - which verifies the bank was actually created.

* add debug to figure out why docker build fails sometimes

* use the CPU only version of pytorch to avoid pulling cuda libraries

* add best match strategy to uv

* change the example openai model
2025-12-11 16:48:12 -05:00
..
fixtures rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
__init__.py rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
conftest.py add tei support 2025-12-10 12:12:21 +01:00
test_agents_api.py fix entity and migrate memory disposition 2025-12-08 16:14:49 +01:00
test_batch_chunking.py rename to new names 2025-11-27 16:22:16 +01:00
test_chunking.py improve retain performances, caching and tests 2025-12-08 18:21:56 +01:00
test_document_tracking.py rename to new names 2025-11-27 16:22:16 +01:00
test_fact_extraction_quality.py improve ci and tests (#22) 2025-12-09 19:16:00 +01:00
test_fact_ordering.py improve ci and tests (#22) 2025-12-09 19:16:00 +01:00
test_http_api_integration.py Fix base CI issues and the defaults in .env.example (#24) 2025-12-11 16:48:12 -05:00
test_link_utils.py prepare for release 2025-12-03 11:52:25 +01:00
test_llm_provider.py fix docs on clients 2025-12-11 14:23:56 +01:00
test_mcp_api_integration.py improve ci and tests (#22) 2025-12-09 19:16:00 +01:00
test_mcp_routing.py mcp test 2025-12-04 15:39:27 +01:00
test_observations.py fix entity and migrate memory disposition 2025-12-08 16:14:49 +01:00
test_query_analyzer.py fix: ci and ui build (#9) 2025-12-03 15:47:53 +01:00
test_retain.py brandind and misc fixes 2025-12-11 12:46:48 +01:00
test_search_trace.py rename to new names 2025-11-27 16:22:16 +01:00
test_temporal_ranges.py improve ci and tests (#22) 2025-12-09 19:16:00 +01:00
test_think.py rename to new names 2025-11-27 16:22:16 +01:00