Skip to content

Commit ee92066

Browse files
authored
ref(dashboards): Set reasoning_effort to medium for dashboard generation (#112955)
## Summary - Sets `reasoning_effort="medium"` on the `SeerExplorerClient` used for agentic dashboard generation - Seer's Explorer module defaults reasoning_effort to `"low"` for all intelligence levels — this bumps dashboard generation to `"medium"` for better output quality ## Test plan - Updated existing tests to assert the new `reasoning_effort` kwarg is passed through
1 parent 7e460cf commit ee92066

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/sentry/dashboards/endpoints/organization_dashboard_generate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def post(self, request: Request, organization: Organization) -> Response:
116116
on_completion_hook=DashboardOnCompletionHook,
117117
category_key="dashboard_generate",
118118
category_value=str(organization.id),
119+
reasoning_effort="medium",
119120
)
120121
run_id = client.start_run(
121122
prompt=prompt,

tests/sentry/dashboards/endpoints/test_organization_dashboard_generate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def test_post_starts_run_and_returns_run_id(self, mock_client_class: MagicMock)
4747
on_completion_hook=DashboardOnCompletionHook,
4848
category_key="dashboard_generate",
4949
category_value=str(self.organization.id),
50+
reasoning_effort="medium",
5051
)
5152
mock_client.start_run.assert_called_once_with(
5253
prompt="Show me error rates by project",
@@ -148,6 +149,7 @@ def test_post_with_current_dashboard_uses_edit_context(
148149
on_completion_hook=DashboardOnCompletionHook,
149150
category_key="dashboard_generate",
150151
category_value=str(self.organization.id),
152+
reasoning_effort="medium",
151153
)
152154

153155
# Verify on_page_context includes the current dashboard JSON

0 commit comments

Comments
 (0)