Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(vertex): an AIza key is refused by Vertex, and the hints now say so
Haralda56da0575161
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 20bf13c4e2..11da53d2a6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -19,17 +19,22 @@ versioning per [SemVer](https://semver.org/).the brain, the tool model, voice input, voice output and realtime, and isselectable as a subagent. All of them read ONE shared Vertex credential, sosetting it up once covers the whole stack.- - Two ways in. A Vertex AI API key — express mode (`AQ.`) or a Cloud API key- restricted to `aiplatform.googleapis.com` (`AIza`) — or a Google Cloud+ - Two ways in. A Vertex AI express-mode key (`AQ.`), or a Google Cloudproject with no key at all: `[google].vertex_project` plus`vertex_location` and an optional `service_account_path`, signed withApplication Default Credentials. That second path is what a production- project uses, and it was previously wired to text-to-speech only.- - The endpoint is now decided by the card, not guessed from the key. A Cloud- API key restricted to Vertex wears the ordinary `AIza` shape, so the- existing routing probe sent it to AI Studio, where it failed every call- with an auth error that explained nothing. Keys in a Vertex card are pinned- to Vertex with no probe at all.+ project uses, and it was previously wired to text-to-speech only. Measured+ against a live Cloud project: a Google Cloud API KEY does not work with+ Vertex at all — not even one restricted to `aiplatform.googleapis.com`. It+ is refused everywhere with "API keys are not supported by this API", while+ the same key answers 200 on AI Studio. The cards, the docs and the+ type-time key hint all say so now, and an `AIza` key pasted into a Vertex+ field draws a warning instead of a shrug.+ - The endpoint is decided by the card, not guessed from the key, so an+ express key is never probed onto the wrong host.+ - Vertex publishes its own Live model ids. The realtime card would otherwise+ have inherited the AI Studio one and 404'd on the model even once+ authentication succeeded.- Vertex is a distinct credential family, deliberately with no cross-read tothe Gemini slots in either direction. The two accounts run out of quotaindependently, which makes crossing between them a real fallback ratherdiff --git a/docs/product/personalize-and-connect/providers-and-api-keys.md b/docs/product/personalize-and-connect/providers-and-api-keys.mdindex ca31da5946..65c0f97e08 100644--- a/docs/product/personalize-and-connect/providers-and-api-keys.md+++ b/docs/product/personalize-and-connect/providers-and-api-keys.md@@ -87,17 +87,34 @@ one Vertex setup covers the whole stack — and so an install can hold an AIStudio key and a Vertex credential side by side and point each capability atthe one it should bill.-Two ways to authenticate, and you only need one:+Two ways to authenticate, and which one applies depends on your account:-- **A Vertex AI API key.** Either an express-mode key (starts with `AQ.`) or a- Google Cloud API key restricted to `aiplatform.googleapis.com` (starts with- `AIza`). Paste it into any Vertex card; the cards share one credential.+- **A Vertex AI express-mode key** (starts with `AQ.`). Paste it into any Vertex+ card; the cards share one credential.- **A Google Cloud project, with no key at all.** Set `[google]` in`jarvis.toml`: `vertex_project` to the project ID that owns the Vertex AI- API, `vertex_location` to a region (`global` is the default and has the- widest model availability), and `service_account_path` only if this machine- is not already signed in with `gcloud`. Requests are then signed with- Application Default Credentials. This is the path a production project uses.+ API, `vertex_location` to a region, and `service_account_path` only if this+ machine is not already signed in with `gcloud`. Run+ `gcloud auth application-default login` once. Requests are then signed with+ Application Default Credentials.++For an ordinary Cloud project the second path is not the fancy option — it is+the only one. **A Google Cloud API key does not work with Vertex AI**, not even+one created restricted to `aiplatform.googleapis.com`. Vertex answers every+such request with "API keys are not supported by this API. Expected OAuth2+access token or other authentication credentials that assert a principal", and+the realtime socket closes with the same message. The identical key works fine+on the AI Studio cards, which is what makes the mistake easy to make.++Two more things that bite on a real project:++- **The region.** `global` reaches the most models, but an organisation policy+ can block it (`constraints/gcp.restrictEndpointUsage`). Then name a real+ region such as `europe-west4` or `us-central1`.+- **The model.** Which models a region serves, and which of them your project is+ allowed to use, are separate gates — a region can list a model your project+ still gets a 404 for. Regions also differ a lot from one another. If a model+ 404s, pick another one in the picker.Two reasons to prefer Vertex over the AI Studio cards: the billing lands inyour Cloud project, and the text-to-speech preview model that AI Studio caps atdiff --git a/jarvis/core/google_genai.py b/jarvis/core/google_genai.pyindex 675b2ba2b5..f6f102ce5b 100644--- a/jarvis/core/google_genai.py+++ b/jarvis/core/google_genai.py@@ -37,10 +37,17 @@ has to be inferred. The dedicated ``vertex`` provider family is the other case:there the user picked Vertex explicitly, so :func:`build_vertex_client` pins theroute with no probe at all and additionally serves the FULL Google Cloud path —``[google].vertex_project``/``vertex_location`` with Application Default-Credentials instead of a key. That path is what a production Cloud project-actually uses, and it is the one an ``AIza`` key restricted to-``aiplatform.googleapis.com`` needs, since its shape is indistinguishable from-an AI Studio key.+Credentials instead of a key.++Which of the two a caller lands on is not a preference. Measured 2026-08-17+against a live Cloud project: Vertex accepts an API key ONLY in express mode. A+standard Cloud API key — including one created with+``--api-target=service=aiplatform.googleapis.com`` — is refused on every Vertex+surface (countTokens, generateContent, and the Live socket, which closes with+1008) with "API keys are not supported by this API. Expected OAuth2 access token+or other authentication credentials that assert a principal", while the very+same key answers 200 on AI Studio. So for an ordinary Cloud project the project+path is the only route in, and the express key is the exception."""from __future__ import annotationsdiff --git a/jarvis/plugins/brain/vertex.py b/jarvis/plugins/brain/vertex.pyindex 144d785f56..d7bf25bc7f 100644--- a/jarvis/plugins/brain/vertex.py+++ b/jarvis/plugins/brain/vertex.py@@ -18,16 +18,24 @@ to Vertex, and that a missing key is not automatically a missing credential.That last one is the substantive difference. Vertex has two authenticationshapes:-* **An API key** — an express-mode key (``AQ.``) or a Google Cloud API key- restricted to ``aiplatform.googleapis.com`` (ordinary ``AIza`` shape).- Because the ``AIza`` shape is indistinguishable from an AI Studio key, the- routing probe in :mod:`jarvis.core.google_genai` would send it to the wrong- host — which is precisely why this class pins the route instead of probing.+* **An express-mode API key** (``AQ.``). This is the ONLY key shape Vertex+ accepts. Measured 2026-08-17 against a live Cloud project: a standard Google+ Cloud API key — even one created with+ ``--api-target=service=aiplatform.googleapis.com`` — is refused on every+ Vertex surface (countTokens, generateContent, and the Live socket) with "API+ keys are not supported by this API. Expected OAuth2 access token or other+ authentication credentials that assert a principal." The same key answers 200+ on AI Studio, so it is a valid key pointed at the wrong service.* **A Google Cloud project** — ``[google].vertex_project`` plus ApplicationDefault Credentials (a service account, a ``gcloud`` login, workloadidentity). There is no key at all on this path, so the inherited"no credential" refusal has to widen or the documented production setup- would be rejected as unconfigured.+ would be rejected as unconfigured. For an ordinary project this is not an+ alternative to the key, it is the only route.++The route is still PINNED rather than probed. An ``AQ.`` express key is+ambiguous by shape — AI Studio issues that prefix too — so a probe would be a+coin flip on the endpoint the user already chose by picking this card."""from __future__ import annotationsdiff --git a/jarvis/plugins/realtime/gemini_live.py b/jarvis/plugins/realtime/gemini_live.pyindex 9821a70534..4d1a38f2e7 100644--- a/jarvis/plugins/realtime/gemini_live.py+++ b/jarvis/plugins/realtime/gemini_live.py@@ -571,6 +571,10 @@ class GeminiLiveProvider:"""Structural provider entry point for the Gemini Live family."""name = "gemini-live"+ #: Live model used when the card pins none. A class attribute, not the bare+ #: module constant, because the AI Studio and Vertex catalogues do NOT share+ #: their Live ids — see VertexLiveProvider.+ default_model = _MODEL# Optional provider capability consumed by the shared session fallback.# Every adapter that draws from the same account quota must expose the# same value so a terminal billing/auth failure is not retried through an@@ -708,7 +712,7 @@ class GeminiLiveProvider:**_compression_kwargs(types),)connection_cm = client.aio.live.connect(- model=str(getattr(cfg, "model", "") or _MODEL),+ model=str(getattr(cfg, "model", "") or self.default_model),config=live_config,)try:@@ -741,16 +745,29 @@ class VertexLiveProvider(GeminiLiveProvider):Studio account fail independently, so crossing between them is a realfallback rather than a doomed retry.- Availability honesty: Google documents the Live API as reachable in express- mode through the Gen AI SDK, while the express REST surface itself lists- only the three unary methods. If a given key or project cannot open the- duplex socket, the handshake fails and the realtime factory crosses to the- next credential-ready provider — and finally to the classic pipeline. That- is the honest degradation this tier already implements; nothing here claims- a capability it has not proven.+ Authentication, measured 2026-08-17 against a live Cloud project: Vertex+ accepts an API key ONLY in express mode. A standard Google Cloud API key —+ even one restricted to ``aiplatform.googleapis.com`` — is refused on every+ Vertex surface with "API keys are not supported by this API. Expected OAuth2+ access token or other authentication credentials that assert a principal",+ and the Live socket closes with 1008 carrying that same text. So the Cloud+ project path (``[google].vertex_project`` + Application Default+ Credentials) is not a nicety here; for a normal project it is the only way+ in. The card says so.++ If a given key or project cannot open the duplex socket, the handshake fails+ and the realtime factory crosses to the next credential-ready provider — and+ finally to the classic pipeline. Nothing here claims a capability it has not+ proven."""name = "vertex-live"+ #: Vertex publishes its OWN Live model ids; the AI Studio id this class+ #: would otherwise inherit does not exist there, so realtime 404'd on the+ #: model even once authentication succeeded. Verified present in both probed+ #: regions (europe-west4 and us-central1, live publisher catalogue+ #: 2026-08-17). A per-card model pin still overrides it.+ default_model = "gemini-live-2.5-flash-native-audio"credential_family = "vertex"credential_candidates = (("realtime_vertex_api_key", "JARVIS_REALTIME_VERTEX_API_KEY"),diff --git a/jarvis/ui/web/frontend/src/lib/keyFormat.test.ts b/jarvis/ui/web/frontend/src/lib/keyFormat.test.tsindex a69de6a522..4842e9f585 100644--- a/jarvis/ui/web/frontend/src/lib/keyFormat.test.ts+++ b/jarvis/ui/web/frontend/src/lib/keyFormat.test.ts@@ -12,9 +12,14 @@ describe("detectKeyFormat", () => {expect(detectKeyFormat(" ")).toBeNull();});- it("recognizes Google AI Studio keys (AIza / AQ.)", () => {+ // The two Google shapes are DIFFERENT kinds, because they reach different+ // services. Measured 2026-08-17 against a live Cloud project: an AIza key+ // answers 200 on AI Studio and is refused by every Vertex surface ("API keys+ // are not supported by this API"), even when it was created restricted to+ // aiplatform.googleapis.com. Only the AQ. express shape reaches both.+ it("separates the AI-Studio-only shape from the express shape", () => {expect(detectKeyFormat("AIzaSyABCDEF1234567890")?.kind).toBe("google-aistudio");- expect(detectKeyFormat("AQ.Ab8RN6...rest")?.kind).toBe("google-aistudio");+ expect(detectKeyFormat("AQ.Ab8RN6...rest")?.kind).toBe("google-express");});it("tells AQ. keys they may be Vertex express (auto-routed), never 'Vertex stays off'", () => {@@ -22,16 +27,13 @@ describe("detectKeyFormat", () => {// promise a fixed endpoint (the old text claimed "Vertex stays off" and// sent express-key users into a silent auth dead end).const hint = detectKeyFormat("AQ.Ab8RN6...rest");- expect(hint?.label).toBe("Google API key (AI Studio or Vertex)");+ expect(hint?.label).toBe("Google API key (AI Studio or Vertex express)");expect(hint?.note).toContain("decides the endpoint");- // The AIza label stays endpoint-NEUTRAL too. It used to read "Google AI- // Studio key", which became actively misleading once the same shape could be- // a Cloud API key restricted to aiplatform.googleapis.com — a Vertex user- // would be told their correct key was an AI Studio one, in the very field- // this module exists to keep straight.+ // The AIza note must name the limit, so nobody spends an afternoon on a key+ // Vertex will never take.const classic = detectKeyFormat("AIzaSyABCDEF1234567890");- expect(classic?.label).toBe("Google API key");- expect(classic?.note).toContain("Vertex AI");+ expect(classic?.label).toBe("Google AI Studio key");+ expect(classic?.note).toContain("Vertex AI refuses it");});it("recognizes a Vertex AI service-account JSON, not an AI Studio key", () => {@@ -108,17 +110,24 @@ describe("keyMatchesSecret", () => {expect(keyMatchesSecret("gemini_api_key", " ").detected).toBeNull();});- // A Vertex key wears the SAME AIza / AQ. shape as an AI Studio one — which- // account it belongs to is invisible in the string. Warning about that would- // fire on every correctly pasted Vertex key, so the two Google kinds are- // treated as compatible in both directions.- it("never cries mismatch between the two indistinguishable Google kinds", () => {+ // The express shape is the one Google issues for both services, so it must+ // never draw a warning in either slot.+ it("accepts an AQ. express key in every Google slot", () => {+ for (const slot of ["vertex_api_key", "realtime_vertex_api_key", "gemini_api_key"]) {+ expect(keyMatchesSecret(slot, "AQ.Ab8RN6xyz").match).toBe(true);+ }+ });++ // The correction that cost a live debugging session: an AIza key in a Vertex+ // field is not "probably fine", it is a key Vertex will refuse on every call.+ it("warns about an AI-Studio-only key in a Vertex slot", () => {for (const slot of ["vertex_api_key", "realtime_vertex_api_key"]) {- for (const key of ["AIzaSy123", "AQ.Ab8RN6xyz"]) {- expect(keyMatchesSecret(slot, key).match).toBe(true);- }+ const r = keyMatchesSecret(slot, "AIzaSy123");+ expect(r.match).toBe(false);+ expect(r.detected?.note).toContain("Vertex AI refuses it");}- expect(keyMatchesSecret("gemini_api_key", "AQ.Ab8RN6xyz").match).toBe(true);+ // ...while the same key is exactly right one card over.+ expect(keyMatchesSecret("gemini_api_key", "AIzaSy123").match).toBe(true);});it("still flags a genuinely foreign key in a Vertex field", () => {@@ -137,10 +146,14 @@ describe("keyMatchesSecret", () => {});describe("keyFormatConfirmed", () => {- it("gives a Vertex slot the green tick for a Google-shaped key", () => {+ it("gives a Vertex slot the green tick for an express key", () => {// Without the compatibility rule the tick never appears on a Vertex card,- // leaving every correct key looking unverified.- expect(keyFormatConfirmed(keyMatchesSecret("vertex_api_key", "AIzaSy123"))).toBe(true);+ // leaving every correct express key looking unverified.+ expect(keyFormatConfirmed(keyMatchesSecret("vertex_api_key", "AQ.Ab8RN6xyz"))).toBe(true);+ });++ it("withholds it for an AI-Studio-only key in a Vertex slot", () => {+ expect(keyFormatConfirmed(keyMatchesSecret("vertex_api_key", "AIzaSy123"))).toBe(false);});it("withholds it for a key we do not recognize", () => {diff --git a/jarvis/ui/web/frontend/src/lib/keyFormat.ts b/jarvis/ui/web/frontend/src/lib/keyFormat.tsindex 75cc07ccd9..9b92d54545 100644--- a/jarvis/ui/web/frontend/src/lib/keyFormat.ts+++ b/jarvis/ui/web/frontend/src/lib/keyFormat.ts@@ -11,13 +11,15 @@*/export type KeyFormatKind =+ // `AIza` — works on AI Studio, refused by Vertex (measured 2026-08-17).| "google-aistudio"- // What a Vertex AI slot EXPECTS. Never returned by `detectKeyFormat`: a- // Vertex key wears the same `AIza` / `AQ.` shape as an AI Studio one, so no- // amount of staring at the string can tell them apart. It exists so the UI- // can name what a slot wants, while `keyMatchesSecret` treats the two Google- // kinds as compatible and stays silent instead of crying mismatch over a- // perfectly good key.+ // `AQ.` — issued by BOTH AI Studio and Vertex express mode, and accepted by+ // both. The one Google shape that genuinely cannot be pinned to a service.+ | "google-express"+ // What a Vertex AI slot EXPECTS. Never returned by `detectKeyFormat`: the+ // only key Vertex takes is an express key, whose `AQ.` shape it shares with+ // AI Studio. The kind exists so the UI can name what a slot wants — and so+ // `keyMatchesSecret` can accept `AQ.` there while warning about `AIza`.| "google-vertex"| "vertex-service-account"| "anthropic"@@ -69,11 +71,16 @@ export function detectKeyFormat(value: string): KeyFormatHint | null {// Google Cloud API key restricted to aiplatform.googleapis.com. Which one it// is depends on the project it was created in, not on the string, so the slot// it is pasted into is what decides where Jarvis sends it.+ // AIza is the classic Google API-key prefix. Measured 2026-08-17: a key of+ // this shape works on AI Studio and is REFUSED by Vertex ("API keys are not+ // supported by this API") even when it was created restricted to+ // aiplatform.googleapis.com — so this kind is genuinely AI-Studio-only, and a+ // Vertex slot warns about it rather than accepting it silently.if (/^AIza/.test(v)) {return {kind: "google-aistudio",- label: "Google API key",- note: "A Google API key. Jarvis sends it to AI Studio or to Vertex AI depending on which card you saved it under.",+ label: "Google AI Studio key",+ note: "This shape works on Google AI Studio. Vertex AI refuses it — Vertex takes only an express-mode key (AQ.) or a Cloud project via [google].vertex_project.",};}// AQ. is issued by BOTH Google AI Studio and Vertex AI express mode — the@@ -82,8 +89,8 @@ export function detectKeyFormat(value: string): KeyFormatHint | null {// slot the endpoint is already decided by the card.if (/^AQ\./.test(v)) {return {- kind: "google-aistudio",- label: "Google API key (AI Studio or Vertex)",+ kind: "google-express",+ label: "Google API key (AI Studio or Vertex express)",note: "AI Studio and Vertex AI express keys share this format — the card you save it under decides the endpoint, and for a Gemini card Jarvis detects it automatically.",};}@@ -146,15 +153,20 @@ export interface KeyMatchResult {}/**- * Google API-key kinds that no string inspection can separate. An `AIza` /- * `AQ.` key is valid for an AI Studio slot or a Vertex AI slot depending only on- * the project it came from, so a mismatch warning between them would be a guess- * dressed up as a finding — and would fire on every correctly pasted Vertex key.+ * Which detected kinds satisfy which expected kind, where equality is too+ * strict. Only ONE Google shape is genuinely ambiguous: `AQ.`, issued by AI+ * Studio and by Vertex express alike and accepted by both, so it must never+ * draw a warning in either slot.+ *+ * `AIza` is deliberately NOT in the Vertex row. It used to be, on the+ * assumption that a Cloud API key restricted to aiplatform would work; measured+ * 2026-08-17, Vertex refuses that key outright. Staying silent there would let+ * the user save a key that cannot ever work and find out from a failed call.*/-const GOOGLE_KEY_KINDS: ReadonlySet<KeyFormatKind> = new Set<KeyFormatKind>([- "google-aistudio",- "google-vertex",-]);+const COMPATIBLE_KINDS: Partial<Record<KeyFormatKind, ReadonlySet<KeyFormatKind>>> = {+ "google-aistudio": new Set<KeyFormatKind>(["google-express"]),+ "google-vertex": new Set<KeyFormatKind>(["google-express"]),+};/*** Compares an entered value against the format its slot expects. Stays neutral@@ -173,7 +185,7 @@ export function keyMatchesSecret(secretKey: string, value: string): KeyMatchResuif (detected.kind === "unknown") {return { match: true, detected, expected };}- if (GOOGLE_KEY_KINDS.has(detected.kind) && GOOGLE_KEY_KINDS.has(expected)) {+ if (COMPATIBLE_KINDS[expected]?.has(detected.kind)) {return { match: true, detected, expected };}return { match: detected.kind === expected, detected, expected };@@ -184,15 +196,15 @@ export function keyMatchesSecret(secretKey: string, value: string): KeyMatchResu* condition for the green reassurance, as opposed to merely "no complaint".** Separate from `match` because the two differ: `match` is also true for a key- * we simply do not recognize, where saying "looks right" would be a guess. The- * Google pair counts as confirmed even though the kinds are not equal, since an- * `AIza` / `AQ.` key IS the shape a Vertex slot wants — it is the account behind+ * we simply do not recognize, where saying "looks right" would be a guess. An+ * `AQ.` express key counts as confirmed in a Vertex slot even though the kinds+ * are not equal, since that IS the shape Vertex takes — it is the account behind* it that no local check can see, and withholding the tick over that would leave- * every correctly pasted Vertex key looking unverified.+ * every correctly pasted express key looking unverified.*/export function keyFormatConfirmed(result: KeyMatchResult): boolean {const { detected, expected, match } = result;if (!match || !detected || expected === null) return false;if (detected.kind === expected) return true;- return GOOGLE_KEY_KINDS.has(detected.kind) && GOOGLE_KEY_KINDS.has(expected);+ return Boolean(COMPATIBLE_KINDS[expected]?.has(detected.kind));}diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.pyindex d0415e470a..85beb61482 100644--- a/jarvis/ui/web/provider_spec.py+++ b/jarvis/ui/web/provider_spec.py@@ -171,13 +171,18 @@ _VERTEX_PROJECT_PATH = AltCredential(credential_help=("Instead of a key, point Jarvis at a Cloud project: set ""[google].vertex_project to the project id that owns "- "aiplatform.googleapis.com, [google].vertex_location to a region "- "(\"global\" is the default and has the widest Gemini availability), and "+ "aiplatform.googleapis.com, [google].vertex_location to a region, and ""— only if this machine is not already signed in with gcloud — ""[google].service_account_path to a service-account JSON. Requests are "- "then signed with Application Default Credentials. This is the path a "- "production project uses, and the one without the preview-model daily "- "cap that the AI Studio account has."+ "then signed with Application Default Credentials (run 'gcloud auth "+ "application-default login' once). For an ordinary Cloud project this "+ "is not the fancy option, it is the ONLY one: Vertex takes API keys "+ "only in express mode. On the region: \"global\" reaches the most "+ "models, but an organisation policy can block it "+ "(constraints/gcp.restrictEndpointUsage) — then name a real region such "+ "as europe-west4 or us-central1. Which models a region serves, and "+ "which of them your project may use, are two separate gates; a 404 on "+ "the model means pick another one in the picker."),dashboard_url="https://console.cloud.google.com/iam-admin/serviceaccounts",credential_path_hint="~/.config/jarvis/vertex-sa.json",@@ -398,16 +403,18 @@ PROVIDERS: tuple[ProviderSpec, ...] = (secret_keys=("vertex_api_key",),dashboard_url="https://console.cloud.google.com/vertex-ai/studio",credential_help=(- "Vertex AI API key from your Google Cloud project — either an "- "express-mode key (AQ.) or a Cloud API key restricted to "- "aiplatform.googleapis.com (AIza). Same Gemini models as the card "- "above, billed to your Cloud project instead of an AI Studio "- "account. For a production project you can skip the key entirely: "- "set [google].vertex_project (plus vertex_location, and "- "service_account_path if you are not already signed in with gcloud) "- "and Vertex authenticates through Application Default Credentials. "- "One Vertex setup serves the brain, the tool model, voice input, "- "voice output, realtime and the subagents."+ "Same Gemini models as the card above, billed to a Google Cloud "+ "project instead of an AI Studio account. Two ways in, and which "+ "one you need depends on the account: a Vertex AI EXPRESS-mode key "+ "(starts with AQ.) goes in the field below; a normal Cloud project "+ "needs no key at all — set [google].vertex_project plus "+ "vertex_location, and service_account_path if this machine is not "+ "already signed in with gcloud. A Google Cloud API KEY (AIza) does "+ "NOT work here even when restricted to aiplatform.googleapis.com: "+ "Vertex refuses it with \"API keys are not supported by this API\" "+ "and asks for a credential that asserts a principal. One Vertex "+ "setup serves the brain, the tool model, voice input, voice output, "+ "realtime and the subagents."),alt_credential=_VERTEX_PROJECT_PATH,),diff --git a/scripts/config-soll.json b/scripts/config-soll.jsonindex 8cd3182f09..fffcae29b8 100644--- a/scripts/config-soll.json+++ b/scripts/config-soll.json@@ -113,7 +113,7 @@"provider": "grok"},"brain.computer_use": {- "provider": "gemini"+ "provider": "ollama"},"brain.providers.grok-realtime": {"voice": "lux"