Remove enable_anthropic_prompt_caching feature flag
What does this MR do and why?
- This flag was used to turn on/off caching in the AI Gateway
- References to the flag were removed from the AI Gateway and caching is now enabled by default. So the feature flag is not used or needed.
References
AI Gateway MR where the feature flag references were removed: gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!2925 (merged)
Feature flag removal issue: #512724 (closed)
Agentic Duo Chat did all of the work on this MR, here was my input:
We no longer check for the presence of the enable_anthropic_prompt_caching feature flag in the AI gateway. So the feature flag can be removed from this codebase. Please remove all references to the feature flag including the feature flag definition file.
How to set up and validate locally
This is a no-op change because the feature flag is no longer used by the AI Gateway.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Nathan Weinshenker