diff --git a/codebase_rag/tools/document_analyzer.py b/codebase_rag/tools/document_analyzer.py index 2a5475954..eac5ad5e5 100644 --- a/codebase_rag/tools/document_analyzer.py +++ b/codebase_rag/tools/document_analyzer.py @@ -35,6 +35,8 @@ def __init__(self, project_root: str) -> None: if orchestrator_provider == cs.Provider.GOOGLE: if orchestrator_config.provider_type == cs.GoogleProviderType.VERTEX: self.client = genai.Client( + vertexai=True, + credentials=orchestrator_config.service_account_file, project=orchestrator_config.project_id, location=orchestrator_config.region, )