Skip to content

[BUG] Collection ID validation expects 'vh' prefix but collections are created with 'vecthare_chat' prefix #43

@reversewave

Description

@reversewave

Getting a validation error in diagnostics even though everything works fine.

When I create a collection for chat history, it gets created with an ID like vecthare_chat_[character_name]_dfa4a263-46d1-491f-8c67-f40961cd0795, but the diagnostic validation is looking for IDs that start with vh_ instead of vecthare_chat_.

Error:

Collection ID missing 'vh' prefix: vecthare_chat_[character_name]_3a4b0738-9b05-4c02-b88d-f29f957a2b85

How to reproduce:

  1. Set Vector Backend to "Standard" or "LanceDB" (didn't test Qdrant/Milvus but likely same issue)
  2. Create a new chat history vectorization for any character
  3. Run diagnostics
  4. Get validation error about missing 'vh' prefix

What I'm running:

  • Extension Version: 2.2.0-alpha
  • Plugin Version: 3.2.0
  • Backend: Standard (ST's Vectra - file-based)
  • Embedding Provider: ElectronHub
  • ElectronHub Model: text-embedding-3-large

Diagnostics:
27 passed, 1 failed - just the Collection ID Format check

Full diagnostics report here.

Notes:
The collections actually work fine for vector memory and retrieval, so this seems like just a validation mismatch. Either the validation code needs to accept vecthare_chat_ as valid, or collection creation should use vh_ instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions