Repository navigation
feat: Claude Other provider login step in Telegram - #279
Merged
Merged
Conversation
- /runtimes Claude login methods gain "Other provider…" when a provider row has an Anthropic-Messages endpoint; it reuses O1's provider and key screens and sealed form, Back returns to the login methods, and a held provider is still offered (its key replaces the one login) - runtime::tier_env: a rule's provider model that is none of the row's tier models takes every Claude Code tier, so background and subagent calls stay on it (OpenRouter's tier defaults are Claude models) - docs/user: the Telegram step and the tier rule Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
axe task 2390 (harness C1; design: store doc harvis/research/20261201-claude-code-providers.md, section 5 row C1).
What
/runtimes-> Claude login methods gain Other provider… when a provider row has an Anthropic-Messages endpoint (runtime_views::other_provider, G7). It opens O1's provider screen (rows Claude takes: DeepSeek, OpenRouter), then O1's key screen and sealed form (provideron the target, G3). Back returns to the login methods; a provider the runtime already holds is still offered, since its key replaces the one login.runtime::tier_env: when a rule names a provider model that is not one of the row's tier models (claude-code:openrouter/deepseek/deepseek-v4-flash), every Claude Code tier (ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL,CLAUDE_CODE_SUBAGENT_MODEL) uses that model. Without this, background and subagent calls go to the row's defaults, which for OpenRouter are Claude models. Set for task and bot runs. The DeepSeek row's own mapping is unchanged.guides/runtimes-from-telegram.md) and the tier rule (concepts/runtimes.md).Tests
claude_other_provider_step_reuses_provider_screens,a_provider_model_off_the_rows_tiers_takes_every_claude_tier.claude_logs_in_to_another_provider_from_telegramruns /runtimes, Log in Claude, Other provider…, DeepSeek, sealed form, key check (mock), ready card; afterwards the login dir holds onlyDEEPSEEK_API_KEY.ANTHROPIC_BASE_URL= the provider URL, the key as a bearer and an emptyANTHROPIC_API_KEY. The mock sawAuthorization: Bearerand nox-api-key.cargo fmt --check,clippy -D warnings,cargo test --locked, ts_bindings: pass. One run hit an unrelated flake (cost_buttons_edit_the_reply_in_place_with_no_web_button, QueryReturnedNoRows race); it passed 3/3 on rerun.No schema or protocol change.
🤖 Generated with Claude Code