Running aby chat without --model prints "Either --model or --session is required" and exits with code 1. The user has no idea what models are available or what the correct format is.
This is the first command most new users try. A dead-end error here kills the onboarding flow.
Solution Ideas
When --model is omitted:
- Call
listModels() to get configured models
- If models exist, display a numbered interactive picker:
Available models: 1) openai/gpt-4o 2) openai/gpt-4o-mini 3) anthropic/claude-sonnet-4 Select model [1]:
- If no models are configured, print actionable guidance:
No models configured. Run: aby start → open http://:/ to add a provider.
Running
aby chatwithout--modelprints "Either --model or --session is required" and exits with code 1. The user has no idea what models are available or what the correct format is.This is the first command most new users try. A dead-end error here kills the onboarding flow.
Solution Ideas
When
--modelis omitted:listModels()to get configured modelsAvailable models: 1) openai/gpt-4o 2) openai/gpt-4o-mini 3) anthropic/claude-sonnet-4 Select model [1]:
No models configured. Run: aby start → open http://:/ to add a provider.