feat: hide Kilo Gateway models that may train on prompts#11158
feat: hide Kilo Gateway models that may train on prompts#11158chrarnoldus wants to merge 6 commits into
Conversation
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
| "settings.providers.subagentModel.title": "Subagent Model", | ||
| "settings.providers.subagentModel.description": | ||
| "Default model and reasoning effort for task-tool subagents. Leave unset to inherit the calling agent's model.", | ||
| "settings.models.hidePromptTraining.title": "Hide Prompt-Training Models", |
There was a problem hiding this comment.
Translation seems incomplete
There was a problem hiding this comment.
Added translations for both labels across all 19 non-English locales. The locale completeness unit suite now passes.
| "kilo-code": patch | ||
| --- | ||
|
|
||
| Add a model setting to hide Kilo Gateway models that may train on your prompts. |
There was a problem hiding this comment.
Should this change not be part of the CLI backend instead? What happens for CLI users?
There was a problem hiding this comment.
Moved the preference into the CLI config as hide_prompt_training_models and apply it to both /provider and /config/providers, so the TUI and VS Code share one filtered catalog. The extension switch now writes that global CLI setting and refreshes providers after save. Added helper, schema, endpoint integration, and extension refresh coverage, regenerated the SDK, and opened the required hosted-schema companion PR: Kilo-Org/cloud#3989.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The latest commit ( All prior review items are resolved:
Files Reviewed (45 files, incremental)
Previous Review Summary (commit 4dc1fd9)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 4dc1fd9)Status: No Issues Found | Recommendation: Merge The new commit ( Changes since last review:
No new issues found in the incremental diff. Files Reviewed (43 files)
Reviewed by claude-4.6-sonnet-20260217 · 443,797 tokens Review guidance: REVIEW.md from base branch |
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Refactor the description for the `settings.models.hidePromptTraining` setting across all supported languages to remove the redundant "across all Kilo clients" phrase, making the text more concise. Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
What changed
Kilo Gateway offers models from multiple providers. Some providers indicate that they may use submitted prompts for model training. This adds an opt-in Hide Prompt-Training Models toggle under Settings → Models so users can remove those models from Kilo's model pickers.
When enabled, Kilo hides only Gateway models explicitly marked
mayTrainOnYourPrompts: true. Models from other providers, and Gateway models without that marker, remain visible.How it works
The preference is stored as the global Kilo config option
hide_prompt_training_models. Filtering happens in the CLI backend for both provider catalog endpoints, so the same preference applies consistently in the VS Code extension, CLI, and terminal UI. The extension refreshes its model list immediately after the setting changes.The setting affects model listings only; it does not alter provider metadata or broadly disable Kilo Gateway.
Related change
The hosted Kilo config schema must recognize the new option for validation and autocomplete. That companion update is in Kilo-Org/cloud#3989.