fix: include step content in continuation prompt #472

Merged
xiaoju merged 1 commits from fix/466-continuation-prompt-content into main 2026-05-24 13:51:02 +00:00

1 Commits

Author SHA1 Message Date
xiaomo eb027e70f4 fix: include step content in continuation prompt (closes #466)
- Add `content: string | null` to RoleStep type
- Resolve contentHash → text for the last step when building ThreadContext
- Update buildAgentPrompt to include <output> tag with step content
- Add 16k content quota with truncation
- Update tests
2026-05-24 13:41:00 +00:00