Skip to content

Filter new-agent model list by selected provider#217

Open
kocendavid wants to merge 2 commits intoRightNow-AI:mainfrom
kocendavid:feat/filter-models-by-provider-in-new-agent
Open

Filter new-agent model list by selected provider#217
kocendavid wants to merge 2 commits intoRightNow-AI:mainfrom
kocendavid:feat/filter-models-by-provider-in-new-agent

Conversation

@kocendavid
Copy link

@kocendavid kocendavid commented Mar 2, 2026

Summary

  • load available models for the spawn wizard from '/api/models?available=true'
  • filter model options by selected provider in the New Agent modal
  • auto-sync selected model when provider changes
  • keep manual model input fallback when provider has no available models

Why

The Create Agent flow should only show models that are actually available for the selected provider to avoid invalid combinations and reduce user error.

Testing

  • Open Create Agent modal (wizard mode)
  • In Step 2, change provider and verify model list updates to provider-specific available models
  • Verify providers with no available models show manual model input fallback
  • Spawn agent successfully with selected model

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.

2 participants