From 833ac5607babbee283c7d9e13eff517eb55d55d6 Mon Sep 17 00:00:00 2001 From: venti <1308199824@qq.com> Date: Sat, 30 May 2026 15:03:04 +0800 Subject: [PATCH] Python: add ChatMessageStore backward-compat alias for HistoryProvider (fixes #5700) --- python/packages/core/agent_framework/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/packages/core/agent_framework/__init__.py b/python/packages/core/agent_framework/__init__.py index cc517d993e..837e40a5bd 100644 --- a/python/packages/core/agent_framework/__init__.py +++ b/python/packages/core/agent_framework/__init__.py @@ -153,6 +153,7 @@ SessionContext, register_state_type, ) +ChatMessageStore = HistoryProvider from ._settings import SecretString, load_settings from ._skills import ( AggregatingSkillsSource, @@ -371,6 +372,7 @@ "ChatMiddleware", "ChatMiddlewareLayer", "ChatMiddlewareTypes", + "ChatMessageStore", "ChatOptions", "ChatResponse", "ChatResponseUpdate",