fix: resolve post-rebase runtime fallback merge leftovers

This commit is contained in:
YeonGyu-Kim
2026-02-21 02:45:48 +09:00
parent a8e3e1ea01
commit 13196aedb7
4 changed files with 324 additions and 159 deletions
-11
View File
@@ -7,17 +7,6 @@ export type ModelResolutionInput = {
systemDefault?: string
}
/**
* Normalizes fallback_models to an array.
* Handles single string or array input, returns undefined for falsy values.
*/
export function normalizeFallbackModels(
fallbackModels: string | string[] | undefined | null
): string[] | undefined {
if (!fallbackModels) return undefined
return Array.isArray(fallbackModels) ? fallbackModels : [fallbackModels]
}
export type ModelSource =
| "override"
| "category-default"