============================================================
  GitMem Local - Vector Storage Engine Tests
============================================================

[Test 1] Basic Memory Store
----------------------------------------
  Created store at: C:\Desktop\python_workspace_311\PdM-main\PdM-main\manhattan-pip\manhattan-mcp\.gitmem_vector_test
  Vectors enabled: True

[Test 2] Adding Memories
----------------------------------------
  Added: ad0bf62f... (identity)
  Added: 29cf4b51... (preferences)
  Added: 17eef842... (preferences)
  Added: a7679e20... (employment)

[Test 3] Keyword Search
----------------------------------------

  Query: 'Python programming'
    1. [5.963] Alice loves programming in Python...

  Query: 'favorite color'
    1. [10.012] Alice's favorite color is blue...

  Query: 'Where does Alice work?'
    1. [1.725] The user's name is Alice...
    2. [1.725] Alice works as an engineer at TechC...
    3. [0.825] Alice loves programming in Python...

[Test 4] Hybrid Search (Semantic + Keyword)
----------------------------------------

  Query: 'Python programming'
[Embedding] Using remote API: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
[Embedding] Model: all-MiniLM-L6-v2, Dimension: 384
[MemoryStore] Vector store initialized
[MemoryStore] Hybrid retriever initialized
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
    1. [H:0.40 S:0.00 K:1.00] Alice loves programming in Pyt...
    2. [H:0.00 S:0.00 K:0.00] The user's name is Alice...
    3. [H:0.00 S:0.00 K:0.00] Alice's favorite color is blue...

  Query: 'favorite color'
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
    1. [H:0.40 S:0.00 K:1.00] Alice's favorite color is blue...
    2. [H:0.00 S:0.00 K:0.00] The user's name is Alice...
    3. [H:0.00 S:0.00 K:0.00] Alice loves programming in Pyt...

  Query: 'Where does Alice work?'
[Embedding] API request failed: 410 Client Error: Gone for url: https://api-inference.huggingface.co/models/sentence-transformers/all-MiniLM-L6-v2
    1. [H:0.40 S:0.00 K:1.00] The user's name is Alice...
    2. [H:0.40 S:0.00 K:1.00] Alice works as an engineer at ...
    3. [H:0.19 S:0.00 K:0.48] Alice loves programming in Pyt...

[Test 5] Vector Store Access
----------------------------------------
  Vector store available: LocalVectorStore
  Stats: {'agent_id': 'test-vector-agent', 'vector_count': 4, 'dimension': 384, 'cache_size': 7}

[Test 6] Module Imports
----------------------------------------
  RemoteEmbeddingClient: Imported
  LocalVectorStore: Imported
  HybridRetriever: Imported

============================================================
  Tests Completed!
============================================================

Test data cleaned up.
