Conversation history tracking

t-507·WorkTask·
·
·
Created3 months ago·Updated3 months ago·pipeline runs →

Dependencies

Description

Edit

Track conversation history and inject into prompt:

  • Data type for history entries (User text, Assistant text + tool calls)
  • Format history as markdown for prompt injection
  • Append new entries after each turn

Timeline (5)

🔄[human]Open → InProgress3 months ago
💬[human]3 months ago

Conversation history tracking implemented and tested:

✅ Data type for history entries (UserMessage, AssistantMessage with tool calls) ✅ Format history as markdown for prompt injection (formatHistory function) ✅ Append new entries after each turn in replLoop ✅ History correctly passed between turns and injected into prompts

Tested with multi-turn conversation - agent correctly remembered previous question.

Next steps (for future improvements):

  • Extract actual tool calls from agent execution (currently storing empty list)
  • Consider adding /clear command to reset history
  • Add /history command to show conversation log
🔄[human]InProgress → Done3 months ago
Complete[engineer]{"verified":true}3 months ago