feat(standard): Hide Code Interpreter toggle in Standard agent loop behind FF#8894
feat(standard): Hide Code Interpreter toggle in Standard agent loop behind FF#8894Elaina-Lee merged 2 commits intomainfrom
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:
|
| Section | Status | Recommendation |
|---|---|---|
| Title | Expand "FF" to the full phrase and optionally reference the exact flag name. | |
| Commit Type | ✅ | No change needed. |
| Risk Level | ✅ | No change needed (Low is appropriate). |
| What & Why | ✅ | Consider listing new function/hook names inline for quick scan. |
| Impact of Change | ✅ | No change needed. |
| Test Plan | ✅ | Ensure manual testing steps are recorded somewhere. |
| Contributors | Add contributor handles if applicable. | |
| Screenshots/Videos | Add before/after screenshot or note why omitted. |
Final Message
Please update the PR title to avoid the abbreviation and consider making the feature flag explicit (suggested title above). Add contributors if others helped, and include screenshots or a short note explaining why screenshots are omitted. The body, test coverage, and the included risk label are all consistent and sufficient — I agree this is a Low risk, feature-flagged change and the PR can pass once the small PR metadata improvements are addressed. Thank you!
Last updated: Fri, 06 Mar 2026 23:14:12 GMT
There was a problem hiding this comment.
Pull request overview
This PR adds Code Interpreter toggle support to the Standard agent loop, gated behind a new experimentation feature flag (enable-code-interpreter-standard). It mirrors the identical Consumption implementation introduced in PR #8854. When the flag is disabled, the builtinTools property is stripped from the Standard agentloop manifest at runtime so the Code Interpreter option stays hidden from users.
Changes:
- New
ENABLE_CODE_INTERPRETER_STANDARDflag constant andenableCodeInterpreterStandard()async function inexperimentationFlags.ts - New
useShouldEnableCodeInterpreterStandard()React hook indesigner-v2/experimentation.ts StandardOperationManifestService.getOperationManifestnow checks the flag foragentTypeand removesbuiltinToolsfrom the cloned manifest when the flag is off
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
libs/logic-apps-shared/src/designer-client-services/lib/experimentationFlags.ts |
Adds the ENABLE_CODE_INTERPRETER_STANDARD flag string constant and enableCodeInterpreterStandard() function |
libs/designer-v2/src/lib/core/utils/experimentation.ts |
Adds useShouldEnableCodeInterpreterStandard() React hook for component-level feature flag consumption |
libs/logic-apps-shared/src/designer-client-services/lib/standard/operationmanifest.ts |
Wires the flag check into getOperationManifest: strips builtinTools from the agent loop manifest when the flag is disabled |
libs/logic-apps-shared/src/designer-client-services/lib/standard/operationmanifest.ts
Show resolved
Hide resolved
📊 Coverage CheckThe following changed files need attention:
Please add tests for the uncovered files before merging. |
…anifest Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Commit Type
Risk Level
What & Why
Adds Code Interpreter support for Standard agent loops, gated behind a feature flag (
enable-code-interpreter-standard). This mirrors the existing Consumption Code Interpreter toggle (#8854) but targets Standard workflows.When the feature flag is disabled, the
builtinToolsproperty is stripped from the agent manifest so the Code Interpreter option is hidden from users.Impact of Change
enableCodeInterpreterStandardfunction inexperimentationFlags.tsanduseShouldEnableCodeInterpreterStandardhook indesigner-v2/core/utils/experimentation.ts; modifiesStandardOperationManifestService.getOperationManifest()to stripbuiltinToolsfrom the agent manifest when the feature flag is off.agentoperations; minimal perf impact but may affect startup/manifest fetch timing slightly.Test Plan
Unit tests added
experimentationFlags.spec.ts— MocksExperimentationService().isFeatureEnabledto returntrue/falseand assertsenableCodeInterpreterStandard()(and the other flag helpers) resolve accordingly.standardOperationManifest.spec.ts— TestsStandardOperationManifestService.getOperationManifestfor theagentoperation:builtinToolsis absent from the returned manifest.builtinToolspresent.supportedBaseManifestObjectsis not mutated when strippingbuiltinTools.Contributors
Screenshots/Videos