Skip to content

Centralize provider credentials and add model discovery - #2

Open
joshtech90 wants to merge 2 commits into
bjspi:mainfrom
joshtech90:provider-profiles
Open

Centralize provider credentials and add model discovery#2
joshtech90 wants to merge 2 commits into
bjspi:mainfrom
joshtech90:provider-profiles

Conversation

@joshtech90

Copy link
Copy Markdown

Summary

  • store Groq/OpenAI API keys once in a central Providers tab
  • let transcription and rephrasing independently choose provider and model
  • load the provider model catalog from the OpenAI-compatible /models endpoint without blocking the UI
  • feature-filter and cache model lists, with maintained offline fallbacks
  • preserve separate credentials only for genuinely separate custom OpenAI-compatible endpoints
  • migrate legacy duplicated URL/key fields to schema v2 and remove them after migration

Migration behavior

  • existing known-provider keys are deduplicated
  • old display suffixes such as (groq) are cleaned from model IDs
  • an untouched secondary OpenAI default automatically reuses an already configured transcription provider
  • hotkeys, prompts, transformations and unrelated settings remain unchanged

Verification

  • ruff check app tests run.py
  • mypy app/core app/services app/audio app/hotkeys app/ui
  • 136 pytest tests
  • full Qt runtime smoke: startup, warnings, transcription, LivePrompt, failure fallback and batch transcription
  • live Groq catalog check: 2 transcription and 8 rephrasing models detected
  • visual review of Providers, Transcription and Rephrasing tabs on macOS

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