You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 637f690
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/services/mcp_tool_registration_service.py
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-tooling-extensions-openai/microsoft_agents_a365/tooling/extensions/openai/mcp_tool_registration_service.py
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/services/mcp_tool_server_configuration_service.py
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -583,6 +583,11 @@ async def send_chat_history(
583
583
turn_context.activity is None, or any of the required fields
584
584
(conversation.id, activity.id, activity.text) are missing or empty.
585
585
586
+
Note:
587
+
Even if chat_history_messages is empty, the request will still be sent to
588
+
the MCP platform. This ensures the user message from turn_context.activity.text
589
+
is registered correctly for real-time threat protection.
590
+
586
591
Example:
587
592
>>> from datetime import datetime, timezone
588
593
>>> from microsoft_agents_a365.tooling.models import ChatHistoryMessage
0 commit comments