feat: show live active_form as single-agent work-log header#1697
Open
Pakchoioioi wants to merge 2 commits into
Open
feat: show live active_form as single-agent work-log header#1697Pakchoioioi wants to merge 2 commits into
Pakchoioioi wants to merge 2 commits into
Conversation
In single-agent mode the running work-log header showed a static "CAMEL Agent" label. Replace it with the in-progress todo's `active_form` text (e.g. "Searching literature on Google"), updated live as the agent advances through its todos. - Add getSingleAgentActiveForm() deriving the running (or last completed) step's active_form from the single_agent's tasks - Fold the active_form into the store snapshot digest so the header re-renders on TODO_STATE updates - Animate the label: cross-fade/slide on each step change, wrap onto multiple lines instead of truncating - Leave multi-agent (workforce) headers unchanged Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Douglasymlai
approved these changes
Jun 17, 2026
Douglasymlai
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Thanks for your contribution, Regina.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
In single-agent mode, the running work-log header showed a static "CAMEL Agent" label. This PR replaces it with the live
active_formof the in-progress todo.Behavior
active_formtext.active_formappears).Animation
active_formchange (viaAnimatePresencekeyed on the label).ShinyTextshimmer retained while running.