Skip to content

Commit 1dda488

Browse files
committed
Fix mypy
Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
1 parent 4b8bcea commit 1dda488

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/agentserver/azure-ai-agentserver-langgraph/azure/ai/agentserver/langgraph/langgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def agent_run_non_stream(self, input_data: dict, context: AgentRunContext)
101101
try:
102102
config = self.create_runnable_config(context)
103103
stream_mode = self.state_converter.get_stream_mode(context)
104-
result = await self.graph.ainvoke(input_data, config=config, stream_mode=stream_mode)
104+
result = await self.graph.ainvoke(input_data, config=config, stream_mode=stream_mode) # type: ignore
105105
output = self.state_converter.state_to_response(result, context)
106106
return output
107107
except Exception as e:

sdk/agentserver/azure-ai-agentserver-langgraph/azure/ai/agentserver/langgraph/models/langgraph_response_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def convert_output_message(self, output_message: AnyMessage): # pylint: disable
6666
+ "Only the first one will be processed."
6767
)
6868
tool_call = output_message.tool_calls[0]
69-
name, call_id, argument = extract_function_call(tool_call)
69+
name, call_id, argument = extract_function_call(tool_call) # type: ignore
7070
return project_models.FunctionToolCallItemResource(
7171
call_id=call_id,
7272
name=name,

0 commit comments

Comments
 (0)