8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
export const normalizeSupportedModelScopesForPlatform = (
|
|
platform: string,
|
|
scopes: string[] | undefined,
|
|
): string[] => {
|
|
if (platform !== "antigravity") return [];
|
|
return scopes ?? [];
|
|
};
|