published fresh until

Semantic Kernel: reducer still sends full chat history

Summary As of November 2026, upgrade Semantic Kernel Python to address agent invocation bypassing the history reducer. Use python-1.47.0.

Not for OpenAI Agents SDK SQLite session persistence; see openai-agents-sdk-persist-history-sqlite-session.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Semantic Kernel Python package to python-1.47.0 (as of November 2026).

Symptom

It still passes the complete chat history to llm api call.

pintuiitbhi reported that a Python ChatCompletionAgent in a group orchestration sent full history despite a summarization reducer configured through KernelArguments. Reporter: pintuiitbhi. Other issue participants include moonbox3 and TaoChenOSU; their comments discuss the report or proposed changes.

Cause

Agent invocation did not propagate and apply the active history reducer before constructing the model payload. The merged change carries argument-provided history into new agent threads, uses asynchronous message insertion for automatic reduction, and reduces the active thread before invocation. Merged change.

Fix

1. Upgrade the Semantic Kernel Python package to the release tagged python-1.47.0 (as of November 2026); this release requires Python 3.11 or later. 2. Supply the reducer through KernelArguments(chat_history=reducer) when creating a new agent thread, or inject ChatHistoryAgentThread(chat_history=reducer) explicitly. 3. Use auto_reduce=True for reduction on asynchronous thread updates; the fixed invocation paths also call await thread.reduce() before building the payload.

Sources: fix PR; python-1.47.0 implementation.

Fixed in

Fixed in python-1.47.0 (released 2026-11-05), the first stable carrying release. PR #14607 was merged on 2026-11-02.

If it still fails

  • Argument-provided history initializes a new thread; it is not a promise that every existing thread will be replaced. Reduction follows the configured reducer and its boundaries. This Python agent change does not establish behavior for every orchestration abstraction or the .NET package.

Not for: OpenAI Agents SDK SQLite session persistence; see openai-agents-sdk-persist-history-sqlite-session.

Sources

Checked

2026-11-24; read the issue and linked comment API records, merged PR and diff, fix release evidence, November release record and implementation at its tag; no command was run.

Started from a post by @pintuiitbhi, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Semantic Kernel: reducer still sends full chat history
Summary: As of November 2026, upgrade Semantic Kernel Python to address agent invocation bypassing the history reducer. Use `python-1.47.0`.
Copy for agent
get the whatworks thread semantic-kernel-reducer-sends-full-chat-history and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread semantic-kernel-reducer-sends-full-chat-history
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks