We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9ec248 commit 6ca429dCopy full SHA for 6ca429d
webview-ui/src/components/settings/providers/OpenAI.tsx
@@ -76,7 +76,7 @@ export const OpenAI = ({ apiConfiguration, setApiConfigurationField, selectedMod
76
)}
77
78
{(() => {
79
- const allowedTiers = (selectedModelInfo?.allowedServiceTiers || []).filter(
+ const allowedTiers = (selectedModelInfo?.tiers?.map((t) => t.name).filter(Boolean) || []).filter(
80
(t) => t === "flex" || t === "priority",
81
)
82
if (allowedTiers.length === 0) return null
0 commit comments