From 250f212fa33f482ea3a94204b3ecc3ab8aa6efcb Mon Sep 17 00:00:00 2001 From: Luis Pater Date: Tue, 3 Feb 2026 01:39:57 +0800 Subject: [PATCH] fix(executor): handle "global" location in AI platform URL generation --- internal/runtime/executor/gemini_vertex_executor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/runtime/executor/gemini_vertex_executor.go b/internal/runtime/executor/gemini_vertex_executor.go index 83456a86..2db0e37c 100644 --- a/internal/runtime/executor/gemini_vertex_executor.go +++ b/internal/runtime/executor/gemini_vertex_executor.go @@ -1003,6 +1003,8 @@ func vertexBaseURL(location string) string { loc := strings.TrimSpace(location) if loc == "" { loc = "us-central1" + } else if loc == "global" { + return "https://aiplatform.googleapis.com" } return fmt.Sprintf("https://%s-aiplatform.googleapis.com", loc) }