Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/(dashboard)/dashboard/providers/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2850,8 +2850,8 @@ export default function ProviderDetailPage() {
<h2 className="text-lg font-semibold mb-4">{t("availableModels")}</h2>
{renderModelsSection()}

{/* Custom Models — available for providers without managed available-model metadata */}
{!isManagedAvailableModelsProvider && providerId !== "gemini" && (
{/* Custom Models — available for all providers */}
{!isManagedAvailableModelsProvider && (
Comment on lines +2853 to +2854

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The updated comment states that this section is now "available for all providers", but the logic still retains the !isManagedAvailableModelsProvider check. This means that managed providers (such as OpenRouter and custom OpenAI/Anthropic nodes) are still excluded from rendering this section.

If the intention of this PR was to truly enable the custom model picker for all providers (as suggested by the PR title and the comment change), the !isManagedAvailableModelsProvider && condition should be removed. If the goal was specifically to fix the missing picker for Gemini, the comment should be updated to accurately reflect that it is for non-managed providers to avoid misleading future maintainers.

<CustomModelsSection
providerId={providerId}
providerAlias={providerDisplayAlias}
Expand Down