Skip to content

fix(models): discover real models before provider registration - #5

Open
argsno wants to merge 1 commit into
RealAlexandreAI:masterfrom
argsno:fix/models-startup-discovery
Open

fix(models): discover real models before provider registration#5
argsno wants to merge 1 commit into
RealAlexandreAI:masterfrom
argsno:fix/models-startup-discovery

Conversation

@argsno

@argsno argsno commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Make the extension entry async and await ensureModelsDiscovered() before registering the CodeBuddy provider, so the first (synchronous-flush) registration carries live SDK models instead of the FALLBACK_MODELS snapshot. Register with the module-level MODELS rather than a pre-discovery snapshot so startup no longer shows the fallback model list.

Make the extension entry async and await ensureModelsDiscovered() before
registering the CodeBuddy provider, so the first (synchronous-flush) registration
carries live SDK models instead of the FALLBACK_MODELS snapshot. Register with the
module-level MODELS rather than a pre-discovery snapshot so startup no longer shows
the fallback model list.
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