PromucFlow_constructor/app
Pawan Kumar 76e1e48a3b
chore: fix agent creation bug (#40251)
/ok-to-test tags="@tag.Templates"
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Added filtering of templates based on the AI agent flow setting,
showing only relevant templates when enabled.

- **Refactor**
- Improved consistency in template filtering across the app by updating
related selectors.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14465699770>
> Commit: 7050a8bfff005c645f72b007415bc331140374c0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14465699770&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Templates`
> Spec:
> <hr>Tue, 15 Apr 2025 09:31:34 UTC
<!-- end of auto-generated comment: Cypress test results  -->
2025-04-15 15:03:17 +05:30
..
client chore: fix agent creation bug (#40251) 2025-04-15 15:03:17 +05:30
server chore: CE changes for updates on import-export-na (#40232) 2025-04-14 11:21:06 +05:30
util