Skip to content

Commit edc04d7

Browse files
cropsggcursoragent
andcommitted
fix(google): accept null baseUrl in Vertex hostname helper
Widen isGoogleVertexBaseUrl to match GoogleProviderConfigLike.baseUrl so extension package-boundary typechecks pass in CI. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ac960cb commit edc04d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/google/provider-policy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function isGoogleVertexHostname(hostname: string): boolean {
109109
return host.endsWith(GOOGLE_VERTEX_REGION_HOST_SUFFIX);
110110
}
111111

112-
export function isGoogleVertexBaseUrl(baseUrl?: string): boolean {
112+
export function isGoogleVertexBaseUrl(baseUrl?: string | null): boolean {
113113
const raw = normalizeOptionalString(baseUrl);
114114
if (!raw) {
115115
return false;

0 commit comments

Comments
 (0)