Skip to content

TUI/config: routing filters (exacto, tools, 1M ctx) matching AnyRouter presets #43

Description

@duyetbot

Goal

CLI TUI + config can set routing controls: want exacto, require tool calls, require ≥1M context (same fields as AnyRouter presets). Per-agent settings stay per-agent (#35/#36). Default picker still anyrouter/auto (#37).

Context

Duyet 2026-09-03: improve both CLI and routing options/presets. API issue is on duyet/anyrouter (routing controls). Do not invent model ids. Test with anyr claude --model anyrouter/auto and anyrouter/free (ox-alpha is removed).

Related

Suggested

Surface the same preset/API fields in TUI (More / agent settings) and ~/.anyrouter/config.yaml. --yes / --ok keep current settings.

Validation

  • TUI can toggle exacto / tools / 1M ctx and persist per agent.
  • Launch anyr claude --model anyrouter/auto --yolo sends those constraints.
  • No most-used dump; no CONFIGURE flash over LAUNCH.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions