Skip to content

aby chat without --model should offer interactive model picker #45

Description

@sathyapramod

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:

  1. Call listModels() to get configured models
  2. 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]:
  3. If no models are configured, print actionable guidance:
    No models configured. Run: aby start → open http://:/ to add a provider.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions