fix(runtime): default provider panel to providers
This commit is contained in:
parent
a4fb99d0e8
commit
6fbba5feb9
1 changed files with 1 additions and 2 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Reference in a new issue