feat(seer): Add an org flag to allow/disallow seer automation delegation (to other llms)
This sticks close to https://github.com/getsentry/sentry/pull/104205/files to add the field. But in this case the field is an enabler/disabler, not a default to be copied into project settings.
So we will have to read this value ALONG with the project settings when it comes time to make LLM calls:
- If this is disabled, then no delegation can happen, we use Seer
- If this is enabled, but the project is not configured to delegate, we use Seer
- If this is enabled AND the project is configured to delegate, then we delegate
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## master #104362 +/- ##
=========================================
Coverage 80.52% 80.53%
=========================================
Files 9330 9330
Lines 400731 400853 +122
Branches 25695 25695
=========================================
+ Hits 322692 322828 +136
+ Misses 77573 77559 -14
Partials 466 466
🚨 Warning: This pull request contains Frontend and Backend changes!
It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.
Have questions? Please ask in the #discuss-dev-infra channel.