@@ -115,6 +115,7 @@ async def create( # pylint: disable=arguments-differ
115
115
additional_instructions : Optional [str ] = None ,
116
116
additional_messages : Optional [List [_models .ThreadMessageOptions ]] = None ,
117
117
tools : Optional [List [_models .ToolDefinition ]] = None ,
118
+ tool_resources : Optional [_models .ToolResources ] = None ,
118
119
temperature : Optional [float ] = None ,
119
120
top_p : Optional [float ] = None ,
120
121
max_prompt_tokens : Optional [int ] = None ,
@@ -156,6 +157,9 @@ async def create( # pylint: disable=arguments-differ
156
157
:keyword tools: The overridden list of enabled tools that the agent should use to run the
157
158
thread. Default value is None.
158
159
:paramtype tools: list[~azure.ai.agents.models.ToolDefinition]
160
+ :keyword tool_resources: The overridden enabled tool resources that the agent should use to run
161
+ the thread. Default value is None.
162
+ :paramtype tool_resources: ~azure.ai.agents.models.ToolResources
159
163
:keyword temperature: What sampling temperature to use, between 0 and 2. Higher values like 0.8
160
164
will make the output
161
165
more random, while lower values like 0.2 will make it more focused and deterministic. Default
@@ -281,6 +285,7 @@ async def create(
281
285
additional_instructions : Optional [str ] = None ,
282
286
additional_messages : Optional [List [_models .ThreadMessageOptions ]] = None ,
283
287
tools : Optional [List [_models .ToolDefinition ]] = None ,
288
+ tool_resources : Optional [_models .ToolResources ] = None ,
284
289
temperature : Optional [float ] = None ,
285
290
top_p : Optional [float ] = None ,
286
291
max_prompt_tokens : Optional [int ] = None ,
@@ -321,6 +326,9 @@ async def create(
321
326
:keyword tools: The overridden list of enabled tools that the agent should use to run the
322
327
thread. Default value is None.
323
328
:paramtype tools: list[~azure.ai.agents.models.ToolDefinition]
329
+ :keyword tool_resources: The overridden enabled tool resources that the agent should use to run
330
+ the thread. Default value is None.
331
+ :paramtype tool_resources: ~azure.ai.agents.models.ToolResources
324
332
:keyword temperature: What sampling temperature to use, between 0 and 2. Higher values like 0.8
325
333
will make the output
326
334
more random, while lower values like 0.2 will make it more focused and deterministic. Default
@@ -389,6 +397,7 @@ async def create(
389
397
additional_instructions = additional_instructions ,
390
398
additional_messages = additional_messages ,
391
399
tools = tools ,
400
+ tool_resources = tool_resources ,
392
401
stream_parameter = False ,
393
402
stream = False ,
394
403
temperature = temperature ,
@@ -600,6 +609,7 @@ async def stream(
600
609
additional_instructions : Optional [str ] = None ,
601
610
additional_messages : Optional [List [_models .ThreadMessageOptions ]] = None ,
602
611
tools : Optional [List [_models .ToolDefinition ]] = None ,
612
+ tool_resources : Optional [_models .ToolResources ] = None ,
603
613
temperature : Optional [float ] = None ,
604
614
top_p : Optional [float ] = None ,
605
615
max_prompt_tokens : Optional [int ] = None ,
@@ -642,6 +652,9 @@ async def stream(
642
652
:keyword tools: The overridden list of enabled tools that the agent should use to run the
643
653
thread. Default value is None.
644
654
:paramtype tools: list[~azure.ai.agents.models.ToolDefinition]
655
+ :keyword tool_resources: The overridden enabled tool resources that the agent should use to run
656
+ the thread. Default value is None.
657
+ :paramtype tool_resources: ~azure.ai.agents.models.ToolResources
645
658
:keyword temperature: What sampling temperature to use, between 0 and 2. Higher values like 0.8
646
659
will make the output
647
660
more random, while lower values like 0.2 will make it more focused and deterministic. Default
@@ -711,6 +724,7 @@ async def stream(
711
724
additional_instructions : Optional [str ] = None ,
712
725
additional_messages : Optional [List [_models .ThreadMessageOptions ]] = None ,
713
726
tools : Optional [List [_models .ToolDefinition ]] = None ,
727
+ tool_resources : Optional [_models .ToolResources ] = None ,
714
728
temperature : Optional [float ] = None ,
715
729
top_p : Optional [float ] = None ,
716
730
max_prompt_tokens : Optional [int ] = None ,
@@ -753,6 +767,9 @@ async def stream(
753
767
:keyword tools: The overridden list of enabled tools that the agent should use to run the
754
768
thread. Default value is None.
755
769
:paramtype tools: list[~azure.ai.agents.models.ToolDefinition]
770
+ :keyword tool_resources: The overridden enabled tool resources that the agent should use to run
771
+ the thread. Default value is None.
772
+ :paramtype tool_resources: ~azure.ai.agents.models.ToolResources
756
773
:keyword temperature: What sampling temperature to use, between 0 and 2. Higher values like 0.8
757
774
will make the output
758
775
more random, while lower values like 0.2 will make it more focused and deterministic. Default
@@ -891,6 +908,7 @@ async def stream( # pyright: ignore[reportInconsistentOverload]
891
908
additional_instructions : Optional [str ] = None ,
892
909
additional_messages : Optional [List [_models .ThreadMessageOptions ]] = None ,
893
910
tools : Optional [List [_models .ToolDefinition ]] = None ,
911
+ tool_resources : Optional [_models .ToolResources ] = None ,
894
912
temperature : Optional [float ] = None ,
895
913
top_p : Optional [float ] = None ,
896
914
max_prompt_tokens : Optional [int ] = None ,
@@ -934,6 +952,9 @@ async def stream( # pyright: ignore[reportInconsistentOverload]
934
952
:keyword tools: The overridden list of enabled tools that the agent should use to run the
935
953
thread. Default value is None.
936
954
:paramtype tools: list[~azure.ai.agents.models.ToolDefinition]
955
+ :keyword tool_resources: The overridden enabled tool resources that the agent should use to run
956
+ the thread. Default value is None.
957
+ :paramtype tool_resources: ~azure.ai.agents.models.ToolResources
937
958
:keyword temperature: What sampling temperature to use, between 0 and 2. Higher values like 0.8
938
959
will make the output
939
960
more random, while lower values like 0.2 will make it more focused and deterministic. Default
@@ -1005,6 +1026,7 @@ async def stream( # pyright: ignore[reportInconsistentOverload]
1005
1026
additional_instructions = additional_instructions ,
1006
1027
additional_messages = additional_messages ,
1007
1028
tools = tools ,
1029
+ tool_resources = tool_resources ,
1008
1030
stream_parameter = True ,
1009
1031
stream = True ,
1010
1032
temperature = temperature ,
0 commit comments