Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(models): tell users when a CLI update unlocks a new model #17307

Mergedjuliusmarmingemerged 5 commits intomain fromrefs/pull/17307/headmerged by juliusmarminge View on GitHub

Showing 17 changed files with 53 additions and 3 deletions (loading 14).

x
0 of 17 viewed, 17 left
23 additions and 1 deletionapps/mobile/src/features/threads/ThreadSettingsSheet.tsxModified
View file
@@ -90,6 +90,7 @@
providerSectionIsCollapsed,
toggleModelFavorite,
} from "./thread-settings-sheet-state";
+import { formatProviderUpdateRequiredNotice } from "@t3tools/client-runtime/providerUpdateRequiredModels";
​
/**
* Everyday harnesses start expanded; every other provider (OpenRouter catalogs
@@ -565,6 +566,11 @@
readonly isFirst: boolean;
readonly isLast: boolean;
+ | {
+ readonly kind: "notice";
+ readonly key: string;
+ readonly text: string;
+ }
| {
readonly kind: "empty";
readonly key: "empty";
@@ -657,7 +663,12 @@
session.favoriteKeys,
- if (visibleModels.length === 0) {
+ // Favorites list only selectable models, so it never explains gated ones.
+ const updateRequiredNotice =
+ group.updateRequired && session.providerFilter !== FAVORITES_PROVIDER_FILTER