feat: inject thread progress into agent prompt (#127)
CI / check (pull_request) Successful in 1m42s
CI / check (pull_request) Successful in 1m42s
Agents now receive a Thread Progress section showing current step number and role visit count, eliminating tool calls to count turns. - util-agent: new buildThreadProgress() helper - agent-hermes: inject before continuation/first-visit prompt - agent-claude-code: same injection point Fixes #127
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
"@united-workforce/agent-hermes": patch
|
||||
"@united-workforce/agent-claude-code": patch
|
||||
"@united-workforce/util-agent": patch
|
||||
---
|
||||
|
||||
feat: inject thread progress into agent prompt (#127)
|
||||
|
||||
Agents now receive a "Thread Progress" section in their prompt showing the
|
||||
current step number and how many times the current role has spoken before.
|
||||
This eliminates the need for agents to make tool calls (terminal, delegate_task)
|
||||
just to count their own turn history.
|
||||
Reference in New Issue
Block a user