Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(claude): leave out models the organization has restricted #26309

Closedwhoisaldo(GitHub profile, opens in a new tab)wants to merge 17 commits intomain fromrefs/pull/26309/headopened View on GitHub

Showing 40 changed files with 42 additions and 15 deletions (loading 37).

x
0 of 40 viewed, 40 left
4 additions and 1 deletionapps/mobile/src/features/settings/ScheduledTaskPickerScreens.tsxModified
View file
@@ -50,7 +50,10 @@
() => buildModelOptions(config, selectedModel, undefined, projectId),
[config, selectedModel, projectId],
);
- const providerGroups = useMemo(() => groupByProvider(models), [models]);
+ const providerGroups = useMemo(
+ () => groupByProvider(models, config, projectId),
+ [models, config, projectId],
+ );
const selectedOption = models.find(
(option) =>
option.selection.instanceId === selectedModel?.instanceId &&
33 additions and 13 deletionsapps/mobile/src/features/threads/ThreadSettingsSheet.tsxModified
View file
@@ -124,7 +124,10 @@
pendingModelAfterPress,
providerSectionIsCollapsed,
} from "./thread-settings-sheet-state";
-import { formatProviderUpdateRequiredNotice } from "@t3tools/client-runtime/providerUpdateRequiredModels";
+import {
+ formatProviderRestrictedModelsNotice,
+ formatProviderUpdateRequiredNotice,
+} from "@t3tools/client-runtime/providerUpdateRequiredModels";
import type { MessageResolver } from "../../i18n/messages";
​
const PRIMARY_PROVIDER_DRIVERS: ReadonlySet<string> = new Set([
@@ -382,6 +385,9 @@