Skip to content

Commit 5265599

Browse files
authored
fix runs.create_and_process (#42040)
1 parent 9d3f4aa commit 5265599

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

sdk/ai/azure-ai-agents/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Bugs Fixed
88

99
- `AgentsResponseFormatOption`, `MessageInputContent`, `MessageAttachmentToolDefinition`, `AgentsToolChoiceOption` are now public.
10+
- Fixed issues where the `runs.create_and_process` API call did not correctly handle the `AzureAISearchTool`, `FileSearchTool`, and `CodeInterpreterTool` when specified in the toolset parameter.
1011

1112
## 1.1.0b4 (2025-07-11)
1213

sdk/ai/azure-ai-agents/azure/ai/agents/aio/operations/_patch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ async def create_and_process(
530530
additional_instructions=additional_instructions,
531531
additional_messages=additional_messages,
532532
tools=toolset.definitions if toolset else None,
533+
tool_resources=toolset.resources if toolset else None,
533534
temperature=temperature,
534535
top_p=top_p,
535536
max_prompt_tokens=max_prompt_tokens,

sdk/ai/azure-ai-agents/azure/ai/agents/operations/_patch.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,7 @@ def create_and_process(
538538
additional_instructions=additional_instructions,
539539
additional_messages=additional_messages,
540540
tools=toolset.definitions if toolset else None,
541+
tool_resources=toolset.resources if toolset else None,
541542
temperature=temperature,
542543
top_p=top_p,
543544
max_prompt_tokens=max_prompt_tokens,

0 commit comments

Comments
 (0)