Skip to content

fix: improve abortAgentExecution logic and error handling - #459

Merged
frikky merged 2 commits into
Shuffle:mainfrom
satti-hari-krishna-reddy:my-fix
Aug 25, 2026
Merged

fix: improve abortAgentExecution logic and error handling#459
frikky merged 2 commits into
Shuffle:mainfrom
satti-hari-krishna-reddy:my-fix

Conversation

@satti-hari-krishna-reddy

Copy link
Copy Markdown
Collaborator

No description provided.

@frikky frikky left a comment

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.

Just confused by the health part

Comment thread health.go
agentTemp, err := strconv.Atoi(strings.TrimSpace(agentOutput.Output))
// Agent output can be anything like "19°C", "19 degrees", "~19", so extract the first
// contiguous run of digits before converting.
rawOutput := strings.TrimSpace(agentOutput.Output)

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.

So confused by this area. Why do we need this?

@frikky
frikky merged commit b6f8979 into Shuffle:main Aug 25, 2026
6 of 8 checks passed
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.

2 participants