Skip to content

Fix raw think blocks in scheduled job responses after tool calls - #6663

Merged
timothycarambat merged 2 commits into
masterfrom
6662-bug-scheduled-job-run-response-shows-raw-think-blocks-when-the-agent-calls-a-tool
Oct 9, 2026
Merged

timothycarambat merged 2 commits into
masterfrom
6662-bug-scheduled-job-run-response-shows-raw-think-blocks-when-the-agent-calls-a-tool

Conversation

@shatfield4

@shatfield4 shatfield4 commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request Type

  • ✨ feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #6662

Description

  • only save the final agent round's text as the scheduled job response, same as normal chat
  • fixes extra reasoning blocks showing as raw <think> text on the run detail page and in "Continue in Chat"
  • add test for multi-round responses

Visuals (if applicable)

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

@timothycarambat
timothycarambat merged commit 2a10d05 into master Oct 9, 2026
6 checks passed
@timothycarambat
timothycarambat deleted the 6662-bug-scheduled-job-run-response-shows-raw-think-blocks-when-the-agent-calls-a-tool branch October 9, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Scheduled job run response shows raw <think> blocks when the agent calls a tool

2 participants