Files
oh-my-pi/packages/coding-agent/test
Sam Biggins 911db0000f fix: resolve --model provider/id to correct provider when ambiguous (#563)
fixes #560

When the CLI input has provider/id format (e.g. zai/glm-5), the exact
match now checks decomposed provider+id first (provider=zai, id=glm-5)
before falling back to flat model.id string match. This prevents
vercel-ai-gateway's 'zai/glm-5' model from winning over the zai
provider's 'glm-5' model due to Array.find catalog ordering.

Keeps getAll() rather than switching to getAvailable() to preserve
the --api-key ephemeral flow, where auth is injected after resolution.
2026-03-29 17:48:31 +02:00
..
2026-03-14 10:46:26 +01:00
WIP
2026-03-23 08:54:54 -04:00