Skip to content

Fix: Use correct module name bxai (no hyphen) in AI routing guard#658

Merged
lmajano merged 1 commit intodevelopmentfrom
copilot/update-router-class
May 6, 2026
Merged

Fix: Use correct module name bxai (no hyphen) in AI routing guard#658
lmajano merged 1 commit intodevelopmentfrom
copilot/update-router-class

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 6, 2026

The AI/MCP routing guard in Router.cfc was checking for a module named bx-ai, but the actual module name is bxai (no hyphen), causing the check to always fail and throw a false ModuleNotFoundException.

Changes

  • system/web/routing/Router.cfc: Updated findNoCase( "bx-ai" )findNoCase( "bxai" ) and corrected the module name in the error message accordingly.

@lmajano lmajano marked this pull request as ready for review May 6, 2026 15:43
Copilot AI review requested due to automatic review settings May 6, 2026 15:43
@lmajano lmajano merged commit 64a3c81 into development May 6, 2026
2 checks passed
@lmajano lmajano deleted the copilot/update-router-class branch May 6, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants