Commit da1abc5
octo-patch
fix: pass MAX_MESSAGE_PAIRS_PER_AGENT to streaming conversation save (fixes #365)
The processStreamInBackground method was calling saveConversationExchange
without the maxHistorySize parameter, causing conversation history to grow
unbounded when using streaming responses regardless of MAX_MESSAGE_PAIRS_PER_AGENT
config. This aligns the streaming code path with the non-streaming path.1 parent c288510 commit da1abc5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
| |||
0 commit comments