From e4653eb71567161b9eede1e1d17d1557bc5c77d8 Mon Sep 17 00:00:00 2001 From: Alameyo Date: Thu, 19 Feb 2026 04:51:49 +0100 Subject: [PATCH] fix: use service account file for vertexai client initialization --- codebase_rag/tools/document_analyzer.py | 2 ++ uv.lock | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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, ) diff --git a/uv.lock b/uv.lock index e1842e77f..c411da91e 100644 --- a/uv.lock +++ b/uv.lock @@ -461,7 +461,7 @@ wheels = [ [[package]] name = "code-graph-rag" -version = "0.0.75" +version = "0.0.76" source = { editable = "." } dependencies = [ { name = "click" },