Skip to content

feat(tui): connect 9Router without manual configuration - #183

Open
filipeforattini wants to merge 1 commit into
mainfrom
connect-9router
Open

feat(tui): connect 9Router without manual configuration#183
filipeforattini wants to merge 1 commit into
mainfrom
connect-9router

Conversation

@filipeforattini

@filipeforattini filipeforattini commented Sep 9, 2026

Copy link
Copy Markdown

Connecting 9Router currently requires editing a provider entry and copying model IDs into configuration. /connect now offers 9Router directly: confirm its API URL, paste the dashboard key, and select a discovered model.

Discovery runs on the Redcode server and checks the OpenAI-compatible /models endpoint without saving anything or sending a generation request. Setup stores the key separately, merges global provider configuration, preserves existing model settings, and reloads model selection. It handles rejected keys, unreachable endpoints, malformed or empty catalogs, timeouts, duplicate submits, cancellation and conflicting configuration overrides. The README documents local and remote setup and refreshing the model list.

Validation: 47 focused tests passed (one existing skipped provider test), CLI and TUI typechecks passed, HTTP route coverage has no missing entries, and the new endpoint's authentication probe passed. Regenerated the legacy SDK and ran Client generation. Tested with local HTTP fixtures, not a live 9Router account. Includes a patch changeset; no release version was changed.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

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.

1 participant