Skip to content

fix(tui): keyless local providers pass the startup gate - #123

Merged
sosidudku1 merged 1 commit into
mainfrom
fix/keyless-local-provider-startup-gate
Aug 18, 2026
Merged

fix(tui): keyless local providers pass the startup gate#123
sosidudku1 merged 1 commit into
mainfrom
fix/keyless-local-provider-startup-gate

Conversation

@sosidudku1

Copy link
Copy Markdown
Collaborator

A configured local provider (Ollama, LM Studio) has no API key, so the startup gate treated it as "not ready" and dropped the user back into the local models wizard on every launch, even though the provider was fully set up.

An entry now also counts as ready when its id maps to a local: true preset, or when its base URL points at a loopback host, which covers manual openai-compatible entries typed in before the preset existed. Keyless remote entries still fail the gate and surface the wizard.

Tests: five new cases in the startup gate suite (local preset, suffixed preset id, manual loopback entry, keyless remote entry, keyless Ollama Cloud).

🤖 Generated with Claude Code

A configured local provider (Ollama, LM Studio) has no API key, so
isCloudTextProviderReady sent its users back into the local models
wizard on every start even though the provider was fully set up.

An entry now also counts as ready when its id maps to a local: true
preset, or when its base URL points at a loopback host, which covers
manual openai-compatible entries typed in before the preset existed.
Keyless remote entries still fail the gate and surface the wizard.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sosidudku1
sosidudku1 force-pushed the fix/keyless-local-provider-startup-gate branch from d40f1b8 to c9aae70 Compare August 18, 2026 18:44
@sosidudku1
sosidudku1 merged commit fdd8e82 into main Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant