Skip to content

feat: shared providers catalog and model config UX#1606

Draft
Douglasymlai wants to merge 5 commits into
testfrom
feat/shared-providers-catalog-and-model-config-ux
Draft

feat: shared providers catalog and model config UX#1606
Douglasymlai wants to merge 5 commits into
testfrom
feat/shared-providers-catalog-and-model-config-ux

Conversation

@Douglasymlai
Copy link
Copy Markdown
Contributor

Summary

Adds a shared Zustand-backed providers catalog (merge helpers + API sync) so the chat model dropdown and Agents → Models stay in step. Auth updates clear or refresh the catalog with session changes; Layout mounts a background sync hook for home/history.

Commits

  • feat(catalog): add providers merge helpers and shared catalog store
  • feat(auth): keep providers catalog in sync with session model config
  • feat(layout): background-sync providers catalog on auth routes
  • fix(models): align model config gate with shared catalog
  • feat(ui): consume shared providers catalog in chat and models

Testing

  • Smoke: model dropdown and Agents Models both reflect BYOK/custom models
  • Unit: test/unit/store/authStore.test.ts

Made with Cursor

Douglasymlai and others added 5 commits May 1, 2026 16:49
Introduce merge utilities for API/catalog form rows and a Zustand store
so chat and Agents Models can share one source of truth for BYOK models.

Co-authored-by: Cursor <cursoragent@cursor.com>
Update auth flows so the shared catalog store reflects login and model-type
changes, with unit coverage for the new behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Mount a shared hook from Layout so home and history keep the BYOK catalog
fresh without duplicate fetches from nested views.

Co-authored-by: Cursor <cursoragent@cursor.com>
Rely on the catalog store for availability checks and tighten default-model
selection so chat matches Agents → Models when switching in-app.

Co-authored-by: Cursor <cursoragent@cursor.com>
Wire the model dropdown, workspace, home, and Agents Models page to the
catalog store so lists and edits stay consistent across the app.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Douglasymlai Douglasymlai marked this pull request as draft May 1, 2026 16:07
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