Skip to content

Commit 34a8605

Browse files
Copilotpontemonti
andcommitted
Fix type annotation for chat_history_messages parameter
Co-authored-by: pontemonti <[email protected]>
1 parent f7bf975 commit 34a8605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/microsoft-agents-a365-tooling/microsoft_agents_a365/tooling/services/mcp_tool_server_configuration_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import aiohttp
3030

3131
# Local imports
32-
from ..models import MCPServerConfig, ToolOptions
32+
from ..models import ChatHistoryMessage, MCPServerConfig, ToolOptions
3333
from ..utils import Constants
3434
from ..utils.utility import get_tooling_gateway_for_digital_worker, build_mcp_server_url
3535

@@ -503,7 +503,7 @@ async def send_chat_history(
503503
conversation_id: str,
504504
message_id: str,
505505
user_message: str,
506-
chat_history_messages: List,
506+
chat_history_messages: List[ChatHistoryMessage],
507507
auth_token: str,
508508
options: Optional[ToolOptions] = None,
509509
):

0 commit comments

Comments
 (0)