Required-text editor; dedupe AI general settings; fix model toggle

Featurekamo-internal
Shipped
July 19, 2026 at 1:50 AM UTC
Author
kamo
Commit
5c4bab6

Adds an editor for org-wide required opening/closing text - the compiler and columns existed but nothing could set them, so the capability was dead. Copy states plainly that agents cannot remove it and that saving applies it to every agent immediately, and the toast reports how many agents were republished rather than a bare 'Saved', because live agents just changed what they say. Two pre-existing bugs found along the way: - The 'Auto-select best available model' switch has never worked. The frontend read data.autoSelectModel and sent autoSelectModel, but the backend returns and expects autoModelEnabled - so the toggle always rendered true and its value was discarded on every save. Fixed frontend-side; no server change needed. - AiGeneralSettings.tsx was dead code, never imported, while a verbatim inline duplicate lived at the bottom of SecurityModelsTab.tsx. Rather than implement required text twice, the duplicate is deleted and SecurityModelsTab imports the shared component. Also replaces the sales-agents help tip, which still told users the feature was coming soon.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing