feat: use new ui bubbletea

This commit is contained in:
leonardotrapani
2026-02-01 20:40:17 +01:00
parent 3ae86f7bae
commit 0b0e084155
25 changed files with 2249 additions and 1934 deletions
+7 -2
View File
@@ -163,10 +163,15 @@ func ValidateModelLanguage(providerName, modelID, langCode string) error {
docsHint = fmt.Sprintf(" See %s for full list.", model.DocsURL)
}
langLabel := LanguageLabel(langCode)
if langLabel == "" {
langLabel = fmt.Sprintf("language '%s'", langCode)
}
return fmt.Errorf(
"model %s does not support language '%s'.%s Supported: %s%s",
"model %s does not support %s.%s Supported: %s%s",
model.Name,
langCode,
langLabel,
docsHint,
strings.Join(supported, ", "),
suffix,