9router/open-sse/executors
anuragg-saxenaa f05d64e073 fix: use project-scoped Vertex URL for SA JSON auth and add ?alt=sse for streaming (closes #388)
When using SA JSON + Bearer token, Vertex AI requires a project-scoped URL.
The old code used the global publishers endpoint which only works with a raw API key,
causing RESOURCE_PROJECT_INVALID errors.

Changes in open-sse/executors/vertex.js buildUrl():
- SA JSON path: projects/{projectId}/locations/{location}/publishers/google/models/{model}:{action}
- Appends ?alt=sse for streaming on SA JSON path
- Location defaults to us-central1, overridable via providerSpecificData.location
- Raw API key path unchanged (global publishers + ?key= param)

Co-authored-by: anuragg-saxenaa <anuragg.saxenaa@gmail.com>
Made-with: Cursor
2026-03-27 11:03:49 +07:00
..
antigravity.js Update Antigravity provider config and headers 2026-03-17 10:12:17 +07:00
base.js chore: add proper-lockfile for safe database read/write operations and implement retry logic for file access 2026-03-27 10:31:35 +07:00
codex.js Refactor config 2026-03-12 16:20:46 +07:00
cursor.js Feat : Auto restart after crash 2026-03-14 09:37:29 +07:00
default.js Refactor config 2026-03-12 16:20:46 +07:00
gemini-cli.js Refactor config 2026-03-12 16:20:46 +07:00
github.js Feat : Auto restart after crash 2026-03-14 09:37:29 +07:00
iflow.js fix(iflow): inject stream_options for usage data in streaming 2026-03-23 12:03:11 +07:00
index.js feat: Add Google Cloud Vertex AI provider support (vertex, vertex-partner) 2026-03-14 11:37:23 +07:00
kiro.js chore: add proper-lockfile for safe database read/write operations and implement retry logic for file access 2026-03-27 10:31:35 +07:00
vertex.js fix: use project-scoped Vertex URL for SA JSON auth and add ?alt=sse for streaming (closes #388) 2026-03-27 11:03:49 +07:00