# Spill oversized buffered assistant deltas without losing final text · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/cc29ceea80d6f02181e4ce7dce2812c07190ebe8)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: cc29ceea80d6f02181e4ce7dce2812c07190ebe8

Requested commit: cc29ceea80d6f02181e4ce7dce2812c07190ebe8

Commit: cc29ceea80d6f02181e4ce7dce2812c07190ebe8

Tree: 6db5e20877ab56f77ba44f970311edab696f5037

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Spill oversized buffered assistant deltas without losing final text

- cap buffered assistant text memory and spill older chunks as delta events
- finalize buffered messages by emitting retained remainder before completion when spilled
- add regression coverage for oversized buffered deltas and tighten type-safe test assertions

```

## Parents

- [32a17b91098edf78a3fab93f978e8b765fd112fb](https://git.cafe/screen/t3code-personal/commit/32a17b91098edf78a3fab93f978e8b765fd112fb?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/cc29ceea80d6f02181e4ce7dce2812c07190ebe8?format=markdown)
