Skip to content

Validate Custom STT without requiring an OpenAI model catalog - #7446

Merged
ComputelessComputer merged 1 commit into
mainfrom
fix/custom-stt-credential-verification
Sep 8, 2026
Merged

Validate Custom STT without requiring an OpenAI model catalog#7446
ComputelessComputer merged 1 commit into
mainfrom
fix/custom-stt-credential-verification

Conversation

@ComputelessComputer

@ComputelessComputer ComputelessComputer commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Pass provider type through desktop saving and availability checks. Preserve URL and key validation plus Custom LLM authentication, with regression coverage.


Note

Medium Risk
Changes AI provider credential validation and save/availability flows, but the behavior change is scoped to Custom STT with tests; other callers that omit type keep prior verification behavior.

Overview
Custom STT (stt + custom) can be saved and marked available after URL and API key checks only—no OpenAI-style /models or control-key probe, since many listen servers never expose a catalog.

The desktop app now passes type (stt | llm) into verifyProviderCredentials from provider save (useSetAiProvider) and availability (useProviderAvailability). Custom LLM and other providers keep the existing network verification path.

Regression tests cover package validation, desktop save/availability, and the split between Custom STT (no fetch) vs Custom LLM (still probes and can fail on unsupported endpoints).

Reviewed by Cursor Bugbot for commit 67cfe03. Bugbot is set up for automated code reviews on this repo. Configure here.

Pass provider type through desktop saving and availability checks. Preserve URL and key validation plus Custom LLM authentication, with regression coverage.
@netlify

netlify Bot commented Sep 7, 2026

Copy link
Copy Markdown

Deploy Preview for anarlog canceled.

Name Link
🔨 Latest commit 67cfe03
🔍 Latest deploy log https://app.netlify.com/projects/anarlog/deploys/6a9ef9a03fad2f000848bdd7

@ComputelessComputer
ComputelessComputer merged commit a6e4ed7 into main Sep 8, 2026
28 checks passed
@ComputelessComputer
ComputelessComputer deleted the fix/custom-stt-credential-verification branch September 8, 2026 02:05
cursor Bot pushed a commit that referenced this pull request Sep 8, 2026
Main's #7446 makes `verifyProviderCredentials` return early for a Custom
STT credential once the static checks pass, since a Deepgram-compatible
listen server need not expose a model catalog or a probe endpoint. The
shell's verification takes the provider type from both callers (the save
path and the availability gate) and does the same; the LLM side still
probes.

Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
cursor Bot pushed a commit that referenced this pull request Sep 8, 2026
Main's #7446 makes `verifyProviderCredentials` return early for a Custom
STT credential once the static checks pass, since a Deepgram-compatible
listen server need not expose a model catalog or a probe endpoint. The
shell's verification takes the provider type from both callers (the save
path and the availability gate) and does the same; the LLM side still
probes.

Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
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