mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 12:22:14 +03:00
6 lines
194 B
TypeScript
6 lines
194 B
TypeScript
export function normalizeCliCompatProviderId(providerId: string): string {
|
|
const normalized = providerId.toLowerCase();
|
|
if (normalized === "copilot") return "github";
|
|
return normalized;
|
|
}
|