Skip to content

Don't exit analyst agent pre-invocation on non-context errors#9482

Merged
begelundmuller merged 2 commits into
mainfrom
begelundmuller/analyst-agent-ignore-non-context-errors
May 22, 2026
Merged

Don't exit analyst agent pre-invocation on non-context errors#9482
begelundmuller merged 2 commits into
mainfrom
begelundmuller/analyst-agent-ignore-non-context-errors

Conversation

@begelundmuller
Copy link
Copy Markdown
Contributor

@begelundmuller begelundmuller commented May 21, 2026

No description provided.

@begelundmuller begelundmuller self-assigned this May 21, 2026
@begelundmuller begelundmuller requested a review from k-anshul May 21, 2026 10:53
MetricsView: mvName,
})
if err != nil {
if err != nil && errors.Is(err, ctx.Err()) { // Don't exit on non-context errors
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GetMetricsViewName seems like an essential tool call and if that fails, maybe the agent should fail ?

If not, then we should not also fail on the GetCanvasName done just above this ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

won't the agent have the opportunity to retry ?

@begelundmuller begelundmuller merged commit 99ce3f0 into main May 22, 2026
10 checks passed
@begelundmuller begelundmuller deleted the begelundmuller/analyst-agent-ignore-non-context-errors branch May 22, 2026 09:07
begelundmuller added a commit that referenced this pull request May 22, 2026
* Don't exit analyst agent pre-invocation on non-context errors

* Review
begelundmuller added a commit that referenced this pull request May 22, 2026
* Don't exit analyst agent pre-invocation on non-context errors

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants