omniroute / src /shared /utils /cliCompat.ts
igorkurgin's picture
Deploy OmniRoute to Hugging Face Space
35743bd verified
Raw
History Blame Contribute Delete
194 Bytes
export function normalizeCliCompatProviderId(providerId: string): string {
const normalized = providerId.toLowerCase();
if (normalized === "copilot") return "github";
return normalized;
}