Skip to content

feat(issues): Add structured LLM context to saved issue views route#115438

Open
Mihir-Mavalankar wants to merge 1 commit into
masterfrom
issue-view-page-context
Open

feat(issues): Add structured LLM context to saved issue views route#115438
Mihir-Mavalankar wants to merge 1 commit into
masterfrom
issue-view-page-context

Conversation

@Mihir-Mavalankar
Copy link
Copy Markdown
Contributor

@Mihir-Mavalankar Mihir-Mavalankar commented May 12, 2026

  • Register '/issues/views/:viewId/' in STRUCTURED_CONTEXT_ROUTES so the Seer Explorer agent uses the compact structured context. Directly adding to STRUCTURED_CONTEXT_ROUTES since similar issues pages are tested and work fine.
  • Also pass the saved view name (e.g. 'My Team'''s Errors') to the LLM context via viewName, giving the agent awareness of which view the user is focused on.

Register '/issues/views/:viewId/' in STRUCTURED_CONTEXT_ROUTES so the
Seer Explorer agent uses the compact structured context (~1200 tokens)
instead of the expensive DOM snapshot (~5700 tokens) for saved views.

Also pass the saved view name (e.g. 'My Team'\''s Errors') to the LLM
context via viewName, giving the agent awareness of which view the user
is focused on.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Mihir-Mavalankar Mihir-Mavalankar requested a review from scttcper May 12, 2026 21:52
@Mihir-Mavalankar Mihir-Mavalankar self-assigned this May 12, 2026
@Mihir-Mavalankar Mihir-Mavalankar requested review from a team as code owners May 12, 2026 21:52
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.50%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant