fix(tui): keep bare custom model listing stable

This commit is contained in:
helix4u 2026-07-06 13:24:02 -06:00 committed by Teknium
parent 4b4f058860
commit b3bee33ab3

View file

@ -2104,7 +2104,7 @@ def list_authenticated_providers(
)
):
_models = [current_model] if current_model else []
if _can_probe_custom_provider(row_is_current=True):
if refresh or probe_current_custom_provider:
try:
from hermes_cli.models import fetch_api_models