fix(runtime): default provider panel to providers

This commit is contained in:
777genius 2026-05-28 00:27:54 +03:00
parent a4fb99d0e8
commit 6fbba5feb9

View file

@ -2287,8 +2287,7 @@ export function RuntimeProviderManagementPanelView({
: t('runtimeProvider.providers.countFallback');
const launchableModelCount = state.view?.configuredModels?.length ?? 0;
const modelsLoading = state.loading && launchableModelCount === 0;
const activeSection =
selectedSection ?? (modelsLoading || launchableModelCount > 0 ? 'models' : 'providers');
const activeSection = selectedSection ?? 'providers';
const hasProjectContext = Boolean(projectPath?.trim());
return (