feat(ui): config-generator AI provider mode field group (#2208) - #4713
Conversation
Add GeneratorFormState, /app/config-generator route, and AiProviderModeFieldGroup with combine/provider/model controls, secret-handling Callout, and Vitest coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
1 similar comment
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ Gittensory review result - approve/merge recommendedReview updated: 2026-07-10 16:59:10 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Flagged checks (non-blocking)
Review context
Contributor next steps
Signal definitions
Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Add the AI-provider-mode field group to the config generator: combine strategy (single / consensus / synthesis), provider/model fields, and an explicit secret-handling notice. No API keys are captured or serialized.
Summary
GeneratorFormStatewith agate.aiReviewslice mapped tofocus-manifestkeys (combine,provider,model).AiProviderModeFieldGroupreusing provider/model control patterns fromai-review-settings.tsx./app/config-generatorroute + sidebar/command-palette entry for maintainer/owner/operator roles.Callout(variant="safety") to state API keys belong in env/secrets/BYOK — never generated YAML.Closes #2208
Part of #1683
Scope
Closes #2208.Validation
npm --workspace @jsonbored/gittensory-ui run typechecknpm --workspace @jsonbored/gittensory-ui test -- --run src/components/site/app-panels/ai-provider-mode-field-group.test.tsxnpx eslinton changed UI files?preview=1)UI Evidence
/app/config-generatorbefore: workspace sidebar had no Config generator entry
after: AI provider mode field group with combine/provider/model + secret callout
Notes
GeneratorFormState.assets/config-generator-2208-20260710(not committed to the feature branch).