//#region src/agent/transcript/model-selection.ts
/**
* Provider ID normalization (MIT-licensed upstream pattern).
*/
function normalizeProviderId(provider) {
	const normalized = provider.trim().toLowerCase();
	if (normalized === "z.ai" || normalized === "z-ai") return "zai";
	if (normalized === "opencode-zen") return "opencode";
	if (normalized === "kimi-code") return "kimi-coding";
	if (normalized === "bedrock" || normalized === "aws-bedrock") return "amazon-bedrock";
	if (normalized === "bytedance" || normalized === "doubao") return "volcengine";
	return normalized;
}
//#endregion
export { normalizeProviderId };

//# sourceMappingURL=model-selection.js.map