Skip to content

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 07 May 07:52
· 4 commits to main since this release

What's Changed

⚠️ Breaking changes

full_msg_history no longer appends per turn

session.run() returns full_msg_history: list[list[ChatMessage]]. As of this release, a new group is only appended on context summarization (plus one final
group at session end) — not once per turn. len(full_msg_history) no longer reflects the agent's turn count.

To count turns, count AssistantMessage instances across the flattened history:

from itertools import chain
from stirrup.core.models import AssistantMessage

num_turns = sum(
    1 for m in chain.from_iterable(full_msg_history) if isinstance(m, AssistantMessage)
)

New Contributors

Full Changelog: v0.1.8...v0.1.9