Files
microsoft--agent-framework/python/packages
Hasan Ghomi f1ba16e3fd Python: Fix Magentic manager duplicating conversation history (#6297)
* Python: Fix Magentic manager duplicating conversation history

_complete() reused one persistent AgentSession, so the default history provider
re-injected prior turns on top of the full prompt the manager already rebuilds
each call — duplicating task/facts/plan and compounding every round. Use a fresh
session per call; keep self._session only for
checkpointing. GroupChatOrchestrator is unaffected. Add a regression test and
update the session-propagation test.

* Python: Clean up Magentic manager per Copilot review (drop dead _session)

---------

Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
2026-07-14 08:01:18 +00:00
..
2026-07-14 06:44:26 +00:00
2026-07-14 06:44:26 +00:00
2026-07-14 06:44:26 +00:00
2026-07-14 06:44:26 +00:00
2026-07-14 06:44:26 +00:00