chatwoot/app/controllers/super_admin
Aakash Bakhle 059d840272
feat: Refresh llm settings when superadmin configs change [AI-151] (#14388)
# Pull Request Template

## Description

fixes:
https://linear.app/chatwoot/issue/AI-151/captains-super-admin-config-dont-get-applied-into-rails-without

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)


## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration.
specs and locally

To test locally: 
go to super admin -> settings -> captain -> Change endpoint to something
incorrect
go to local app -> captain -> playground -> try chatting (should fail
due to incorrect endpoint)

now in super admin captain settings, set the correct endpoint then chat
in playground. Now it should work.

Current develop code doesn't reflect the changes in installation config
for captain instantly, needs a server restart.

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules
2026-05-18 14:08:26 +05:30
..
devise chore: Make super admin auth error readable (#8406) 2023-11-22 17:26:08 -08:00
access_tokens_controller.rb Feature: Introduce Super Admins (#705) 2020-05-11 23:07:22 +05:30
account_users_controller.rb fix: broken link in admin account user list (#11661) 2025-06-04 21:37:05 -05:00
accounts_controller.rb chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
agent_bots_controller.rb feat: Ability to update avatars from super admin (#7264) 2023-06-09 15:32:24 +05:30
app_configs_controller.rb feat: Refresh llm settings when superadmin configs change [AI-151] (#14388) 2026-05-18 14:08:26 +05:30
application_controller.rb chore: Add submenu for super admin settings (#11860) 2025-07-15 21:28:39 -07:00
dashboard_controller.rb Chore: Release Fixes (#3011) 2021-09-14 15:54:57 +05:30
installation_configs_controller.rb feat: Refresh llm settings when superadmin configs change [AI-151] (#14388) 2026-05-18 14:08:26 +05:30
instance_statuses_controller.rb Revert "chore: Upgrade Rails to 7.2.2 and update Gemfile dependencies (#11037)" 2026-02-03 21:09:42 -08:00
platform_apps_controller.rb feat: Manage platform apps from Super Admin (#2129) 2021-04-20 00:01:05 +05:30
platform_banners_controller.rb fix: Prevent platform banners cloud check from breaking app boot (#14321) 2026-04-29 19:30:06 +04:00
push_diagnostics_controller.rb feat(super-admin): Add push diagnostics tool (#14105) 2026-04-21 15:55:12 +04:00
settings_controller.rb feat: Super admin design improvements (#8517) 2023-12-08 19:40:35 -08:00
users_controller.rb feat: Auto confirm user email when super admin make changes (#12418) 2025-09-23 20:14:02 +05:30