Skip to content

fix(provider): refresh models in background#31973

Open
rekram1-node wants to merge 3 commits into
devfrom
background-model-refresh
Open

fix(provider): refresh models in background#31973
rekram1-node wants to merge 3 commits into
devfrom
background-model-refresh

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • run plugin model discovery hooks in a scoped background fiber
  • update provider state and invalidate cached language models after discovery
  • notify app and TUI clients to refresh provider snapshots

Verification

  • bun typecheck in packages/opencode
  • bun typecheck in packages/app
  • bun typecheck in packages/tui
  • git diff --check

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