mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-20 12:37:04 -04:00
[PR #318] [MERGED] docs(llm): clarify Vertex AI configuration options #313
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/pentagi/pull/318
Author: @mason5052
Created: 5/22/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @asdek
Base:
feature/next-release← Head:codex/issue-310-vertex-ai-config-docs📝 Commits (1)
5ff63ccdocs(llm): clarify Vertex AI configuration options📊 Changes
2 files changed (+17 additions, -0 deletions)
View changed files
📝
README.md(+10 -0)📝
backend/docs/config.md(+7 -0)📄 Description
Summary
Clarify in the user-facing LLM provider docs that PentAGI does not currently expose a dedicated Google Vertex AI configuration path for Anthropic Claude in
.env, and describe the routes that actually work today (direct Anthropic, AWS Bedrock, or a custom OpenAI-compatible gateway).Docs-only change. No Go code, no installer behavior, no new environment variables.
Problem
Issue #310 asks how to provide a Google Vertex AI API key in
.envfor Anthropic Claude. PentAGI's.env.example,backend/pkg/config, andbackend/cmd/installer/wizarddo not read anyVERTEX_*,GOOGLE_APPLICATION_CREDENTIALS, orvertex_aivariable. The current provider initialization for Claude only knows about:ANTHROPIC_API_KEY/ANTHROPIC_SERVER_URL(direct Anthropic API)BEDROCK_REGION/BEDROCK_DEFAULT_AUTH/BEDROCK_BEARER_TOKEN/BEDROCK_ACCESS_KEY_ID/BEDROCK_SECRET_ACCESS_KEY/BEDROCK_SESSION_TOKEN/BEDROCK_SERVER_URL(AWS Bedrock)LLM_SERVER_URL/LLM_SERVER_KEY/LLM_SERVER_MODEL(custom OpenAI-compatible endpoint)Today this leaves users guessing whether some hidden Vertex AI configuration exists. The user in issue #310 hit exactly this — they "tried multiple methods of adding Anthropic's Claude models Vertex AI keys but the application couldn't parse it."
Solution
Add a small clarification in two places, matching the existing style of each file:
README.md: a> [!NOTE]callout inside the Anthropic Provider Configuration section. It states the current limitation, lists the supported Claude routes (direct Anthropic, AWS Bedrock), and describes the safest workaround for users who must use Vertex AI today (front it with an OpenAI-compatible gateway and configure the existing Custom LLM provider, with a caveat that reliability depends on the gateway).backend/docs/config.md: a matching Note paragraph under the Anthropic section, pointing at the AWS Bedrock LLM Provider and Custom LLM Provider sections already in the same doc, and stating that noVERTEX_API_KEYorGOOGLE_APPLICATION_CREDENTIALSvariable is wired into provider initialization today.Wording is intentionally hedged ("currently", "at this time", "today") to avoid permanent claims, and no fake env vars are introduced.
User Impact
.envkeys that do nothing.Test Plan
git diff --checkcleangit statusshows onlyREADME.mdandbackend/docs/config.mdmodified; no unrelated dirty files stagedANTHROPIC_API_KEY,ANTHROPIC_SERVER_URL:backend/pkg/config/config.go,.env.example, README,backend/docs/config.mdBEDROCK_REGION,BEDROCK_DEFAULT_AUTH,BEDROCK_BEARER_TOKEN,BEDROCK_ACCESS_KEY_ID,BEDROCK_SECRET_ACCESS_KEY,BEDROCK_SESSION_TOKEN,BEDROCK_SERVER_URL:backend/pkg/config/config.go,.env.example, README,backend/docs/config.mdLLM_SERVER_URL,LLM_SERVER_KEY,LLM_SERVER_MODEL:backend/pkg/config/config.go,.env.example,backend/docs/config.mdVERTEX_*,vertex_ai, andGOOGLE_APPLICATION_CREDENTIALSare NOT present inbackend/pkg/configorbackend/pkg/providers— the doc claim that no such variable is wired in today is accurate#aws-bedrock-provider-configuration(README) and#aws-bedrock-llm-provider+#custom-llm-provider(config.md) match real headings in the same filesRefs #310
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.