fix: align opencode-zen provider setup

This commit is contained in:
Peter Steinberger committed 2026-01-10 21:38:18 +01:00
1 parent 46e00ad5e7
commit 8a194b4abc
16 files changed
+263 -96

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ export function modelKey(provider: string, model: string) {
export function normalizeProviderId(provider: string): string {
const normalized = provider.trim().toLowerCase();
if (normalized === "z.ai" || normalized === "z-ai") return "zai";
if (normalized === "opencode-zen") return "opencode";
return normalized;
}