Fix for bugs appeared when using function calls with clear history functionality (#1531)
* resolved errors happening when using function calling and clear history * checking in nr_of_messages_to_preserve were provided * code formatting * test added, dict signature improved * test added, dict signature improved * test added, dict signature improved * test added, dict signature improved * test added, dict signature improved * test added, dict signature improved * test added, dict signature improved * test added, dict signature improved * Test updated Co-authored-by: Chi Wang <wang.chi@microsoft.com> * test improved * test improved * comment about preserving additional message added * commentary about clear history called in tool response improved * created test for clear hisotry called from tool response * code formatting * added 'USER INTERRUPTED' as internal content of tool response * added separate vatiable 'nr_messages_to_preserve_internal' --------- Co-authored-by: Chi Wang <wang.chi@microsoft.com>
G
Grigorij Dudnik committed
f2e42326e1c8f5a448a3dcc2d6a359073619dd84
Parent: d604643
Committed by GitHub <noreply@github.com>
on 3/2/2024, 6:03:52 PM