feat(init): add GonkaGate option to --init wizard#3621
Merged
Conversation
- Adds "Gonka (decentralized — via GonkaGate)" at index 5 in the LLM provider picker; sets ProviderKind::Compatible, name="gonkagate", base_url="https://api.gonkagate.com/v1" - Model picker: default Qwen/Qwen3-235B-A22B-Instruct-2507-FP8 with Custom... escape hatch - Vault-aware key prompt: age backend prints vault-set instruction; non-age backend prompts via Password (masked, ZEPH_COMPATIBLE_GONKAGATE_API_KEY) - Adds commented-out [[llm.providers]] gonkagate stanza to default.toml - Three unit tests: build_config, api_key_env_var, collect_provider_secret Part of epic #3602.
e2c26b3 to
3ffc3fe
Compare
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.
Summary
Implements Gonka.ai Phase 1 Gateway MVP (epic #3602):
--initLLM provider picker. SetsProviderKind::Compatible,name = "gonkagate",base_url = "https://api.gonkagate.com/v1". Model picker defaults toQwen/Qwen3-235B-A22B-Instruct-2507-FP8with a custom... escape hatch. Age vault backend prints avault setinstruction; non-age backend prompts for thegp-...key via masked Password input (ZEPH_COMPATIBLE_GONKAGATE_API_KEY).[[llm.providers]]gonkagate stanza added toconfig/default.tomlwith signup URL and vault key instruction..local/testing/playbooks/gonka-gateway.mdwith 10 live-test scenarios; twoUntestedrows added to.local/testing/coverage-status.md.No runtime code changes — reuses
CompatibleProviderend-to-end.Test plan
cargo +nightly fmt --check— PASScargo clippy --workspace --features full -- -D warnings— PASScargo nextest run --workspace --features full --lib --bins— 9236/9236 passedbuild_config_gonkagate_provider,api_key_env_var_gonkagate,collect_provider_secret_gonkagate_non_age_sets_keyzeph init, pick GonkaGate, verify TOML output (scenario 1 in playbook)Closes #3604
Closes #3605
Closes #3606