Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async def agent_run_non_stream(self, input_data: dict, context: AgentRunContext)
try:
config = self.create_runnable_config(context)
stream_mode = self.state_converter.get_stream_mode(context)
result = await self.graph.ainvoke(input_data, config=config, stream_mode=stream_mode)
result = await self.graph.ainvoke(input_data, config=config, stream_mode=stream_mode) # type: ignore
output = self.state_converter.state_to_response(result, context)
return output
except Exception as e:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def convert_output_message(self, output_message: AnyMessage): # pylint: disable
+ "Only the first one will be processed."
)
tool_call = output_message.tool_calls[0]
name, call_id, argument = extract_function_call(tool_call)
name, call_id, argument = extract_function_call(tool_call) # type: ignore
return project_models.FunctionToolCallItemResource(
call_id=call_id,
name=name,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-e ../../../eng/tools/azure-sdk-tools
../azure-ai-agentserver-core
python-dotenv
python-dotenv
langchain-azure-ai[opentelemetry]>=0.1.4
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ dependencies = [
"azure-ai-agentserver-core",
"langchain>0.3.5",
"langchain-openai>0.3.10",
"langchain-azure-ai[opentelemetry]>=0.1.4",
"langgraph>0.5.0",
"opentelemetry-exporter-otlp-proto-http",
]

[project.optional-dependencies]
tracing = [
"langchain-azure-ai[opentelemetry]>=0.1.4",
]

[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
Expand Down Expand Up @@ -64,4 +68,4 @@ pyright = false
verifytypes = false # incompatible python version for -core
verify_keywords = false
mindependency = false # depends on -core package
whl_no_aio = false
whl_no_aio = false