Skip to content

non-interactive: review_code fails to initialize ChromaStore #134

@nicola-mazzucato-arm

Description

@nicola-mazzucato-arm

It appears there's an issue with indexing and then review_code in for non-interactive sessions.

Sequence:

metis --codebase-path <path_to_repo> --verbose --log-level info
index

close CLI session

metis --codebase-path <path_to_repo> --verbose --log-level info -non-interactive --command review_code
ERROR - Error initializing ChromaStore: Could not connect to tenant default_tenant. Are you sure it exists?

This happens on:
SHA: 58a5400
Ubuntu 24.04

Temporary workaround:

diff --git a/src/metis/metis.yaml b/src/metis/metis.yaml
index 909ba18..63fe495 100644
--- a/src/metis/metis.yaml
+++ b/src/metis/metis.yaml
@@ -9,7 +9,7 @@ psql_database:
 
 metis_engine:
   max_token_length: 250000
-  max_workers: 10
+  max_workers: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions