Skip to content

Commit 5e5aa84

Browse files
authored
fix model names (#42140)
1 parent 851dab1 commit 5e5aa84

File tree

4 files changed

+84
-84
lines changed

4 files changed

+84
-84
lines changed

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ def create_agent( # pylint: disable=arguments-differ
141141
Can be a string, response format mode, or structured response format object that defines how
142142
the agent should structure its outputs.
143143
:paramtype response_format: Optional[Union[str,
144-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
145-
~azure.ai.agents.models.AgentsApiResponseFormat,
144+
~azure.ai.agents.models.AgentsResponseFormatMode,
145+
~azure.ai.agents.models.AgentsResponseFormat,
146146
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
147147
:keyword metadata: Custom key-value pairs for storing additional information about the agent.
148148
Useful for categorization, tracking, or storing application-specific data. Limited to 16 pairs,
@@ -206,8 +206,8 @@ def create_agent( # pylint: disable=arguments-differ
206206
Can be a string, response format mode, or structured response format object that defines how
207207
the agent should structure its outputs.
208208
:paramtype response_format: Optional[Union[str,
209-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
210-
~azure.ai.agents.models.AgentsApiResponseFormat,
209+
~azure.ai.agents.models.AgentsResponseFormatMode,
210+
~azure.ai.agents.models.AgentsResponseFormat,
211211
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
212212
:keyword metadata: Custom key-value pairs for storing additional information about the agent.
213213
Useful for categorization, tracking, or storing application-specific data. Limited to 16 pairs,
@@ -296,8 +296,8 @@ def create_agent(
296296
Can be a string, response format mode, or structured response format object that defines how
297297
the agent should structure its outputs.
298298
:paramtype response_format: Optional[Union[str,
299-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
300-
~azure.ai.agents.models.AgentsApiResponseFormat,
299+
~azure.ai.agents.models.AgentsResponseFormatMode,
300+
~azure.ai.agents.models.AgentsResponseFormat,
301301
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
302302
:keyword metadata: Custom key-value pairs for storing additional information about the agent.
303303
:paramtype metadata: Optional[Dict[str, str]]
@@ -393,8 +393,8 @@ def update_agent( # pylint: disable=arguments-differ
393393
Can be a string, response format mode, or structured response format object that defines how
394394
the agent should structure its outputs.
395395
:paramtype response_format: Optional[Union[str,
396-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
397-
~azure.ai.agents.models.AgentsApiResponseFormat,
396+
~azure.ai.agents.models.AgentsResponseFormatMode,
397+
~azure.ai.agents.models.AgentsResponseFormat,
398398
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
399399
:keyword metadata: A set of up to 16 key/value pairs that can be attached to an object, used
400400
for storing additional information about that object in a structured format. Keys may be up to
@@ -459,8 +459,8 @@ def update_agent( # pylint: disable=arguments-differ
459459
Can be a string, response format mode, or structured response format object that defines how
460460
the agent should structure its outputs.
461461
:paramtype response_format: Optional[Union[str,
462-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
463-
~azure.ai.agents.models.AgentsApiResponseFormat,
462+
~azure.ai.agents.models.AgentsResponseFormatMode,
463+
~azure.ai.agents.models.AgentsResponseFormat,
464464
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
465465
:keyword metadata: A set of up to 16 key/value pairs that can be attached to an object, used
466466
for storing additional information about that object in a structured format. Keys may be up to
@@ -570,8 +570,8 @@ def update_agent(
570570
Can be a string, response format mode, or structured response format object that defines how
571571
the agent should structure its outputs.
572572
:paramtype response_format: Optional[Union[str,
573-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
574-
~azure.ai.agents.models.AgentsApiResponseFormat,
573+
~azure.ai.agents.models.AgentsResponseFormatMode,
574+
~azure.ai.agents.models.AgentsResponseFormat,
575575
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
576576
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
577577
Default value is "application/json".
@@ -733,8 +733,8 @@ def create_thread_and_run(
733733
Can be a string, response format mode, or structured response format object that defines how
734734
the agent should structure its outputs.
735735
:paramtype response_format: Optional[Union[str,
736-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
737-
~azure.ai.agents.models.AgentsApiResponseFormat,
736+
~azure.ai.agents.models.AgentsResponseFormatMode,
737+
~azure.ai.agents.models.AgentsResponseFormat,
738738
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
739739
:keyword parallel_tool_calls: If True, tools will be invoked in parallel.
740740
:paramtype parallel_tool_calls: bool
@@ -837,8 +837,8 @@ def create_thread_and_run( # type: ignore
837837
Can be a string, response format mode, or structured response format object that defines how
838838
the agent should structure its outputs.
839839
:paramtype response_format: Optional[Union[str,
840-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
841-
~azure.ai.agents.models.AgentsApiResponseFormat,
840+
~azure.ai.agents.models.AgentsResponseFormatMode,
841+
~azure.ai.agents.models.AgentsResponseFormat,
842842
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
843843
:keyword parallel_tool_calls: If True, tools will be invoked in parallel.
844844
:paramtype parallel_tool_calls: bool
@@ -939,8 +939,8 @@ def create_thread_and_process_run(
939939
Can be a string, response format mode, or structured response format object that defines how
940940
the agent should structure its outputs.
941941
:paramtype response_format: Optional[Union[str,
942-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
943-
~azure.ai.agents.models.AgentsApiResponseFormat,
942+
~azure.ai.agents.models.AgentsResponseFormatMode,
943+
~azure.ai.agents.models.AgentsResponseFormat,
944944
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
945945
:keyword parallel_tool_calls: If True, allows tool calls to be executed in parallel.
946946
:paramtype parallel_tool_calls: bool, optional

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ async def create_agent( # pylint: disable=arguments-differ
142142
Can be a string, response format mode, or structured response format object that defines how
143143
the agent should structure its outputs.
144144
:paramtype response_format: Optional[Union[str,
145-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
146-
~azure.ai.agents.models.AgentsApiResponseFormat,
145+
~azure.ai.agents.models.AgentsResponseFormatMode,
146+
~azure.ai.agents.models.AgentsResponseFormat,
147147
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
148148
:keyword metadata: Custom key-value pairs for storing additional information about the agent.
149149
Useful for categorization, tracking, or storing application-specific data. Limited to 16 pairs,
@@ -207,8 +207,8 @@ async def create_agent( # pylint: disable=arguments-differ
207207
Can be a string, response format mode, or structured response format object that defines how
208208
the agent should structure its outputs.
209209
:paramtype response_format: Optional[Union[str,
210-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
211-
~azure.ai.agents.models.AgentsApiResponseFormat,
210+
~azure.ai.agents.models.AgentsResponseFormatMode,
211+
~azure.ai.agents.models.AgentsResponseFormat,
212212
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
213213
:keyword metadata: Custom key-value pairs for storing additional information about the agent.
214214
Useful for categorization, tracking, or storing application-specific data. Limited to 16 pairs,
@@ -298,8 +298,8 @@ async def create_agent(
298298
Can be a string, response format mode, or structured response format object that defines how
299299
the agent should structure its outputs.
300300
:paramtype response_format: Optional[Union[str,
301-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
302-
~azure.ai.agents.models.AgentsApiResponseFormat,
301+
~azure.ai.agents.models.AgentsResponseFormatMode,
302+
~azure.ai.agents.models.AgentsResponseFormat,
303303
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
304304
305305
:keyword metadata: Custom key-value pairs for storing additional information about the agent.
@@ -393,8 +393,8 @@ async def update_agent( # pylint: disable=arguments-differ
393393
Can be a string, response format mode, or structured response format object that defines how
394394
the agent should structure its outputs.
395395
:paramtype response_format: Optional[Union[str,
396-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
397-
~azure.ai.agents.models.AgentsApiResponseFormat,
396+
~azure.ai.agents.models.AgentsResponseFormatMode,
397+
~azure.ai.agents.models.AgentsResponseFormat,
398398
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
399399
:keyword metadata: A set of up to 16 key/value pairs that can be attached to an object, used
400400
for storing additional information about that object in a structured format. Keys may be up to
@@ -458,8 +458,8 @@ async def update_agent( # pylint: disable=arguments-differ
458458
Can be a string, response format mode, or structured response format object that defines how
459459
the agent should structure its outputs.
460460
:paramtype response_format: Optional[Union[str,
461-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
462-
~azure.ai.agents.models.AgentsApiResponseFormat,
461+
~azure.ai.agents.models.AgentsResponseFormatMode,
462+
~azure.ai.agents.models.AgentsResponseFormat,
463463
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
464464
:keyword metadata: A set of up to 16 key/value pairs that can be attached to an object, used
465465
for storing additional information about that object in a structured format. Keys may be up to
@@ -568,8 +568,8 @@ async def update_agent(
568568
Can be a string, response format mode, or structured response format object that defines how
569569
the agent should structure its outputs.
570570
:paramtype response_format: Optional[Union[str,
571-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
572-
~azure.ai.agents.models.AgentsApiResponseFormat,
571+
~azure.ai.agents.models.AgentsResponseFormatMode,
572+
~azure.ai.agents.models.AgentsResponseFormat,
573573
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
574574
:keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
575575
Default value is "application/json".
@@ -731,8 +731,8 @@ async def create_thread_and_run(
731731
Can be a string, response format mode, or structured response format object that defines how
732732
the agent should structure its outputs.
733733
:paramtype response_format: Optional[Union[str,
734-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
735-
~azure.ai.agents.models.AgentsApiResponseFormat,
734+
~azure.ai.agents.models.AgentsResponseFormatMode,
735+
~azure.ai.agents.models.AgentsResponseFormat,
736736
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
737737
:keyword parallel_tool_calls: If True, tools will be invoked in parallel.
738738
:paramtype parallel_tool_calls: bool
@@ -835,8 +835,8 @@ async def create_thread_and_run( # type: ignore
835835
Can be a string, response format mode, or structured response format object that defines how
836836
the agent should structure its outputs.
837837
:paramtype response_format: Optional[Union[str,
838-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
839-
~azure.ai.agents.models.AgentsApiResponseFormat,
838+
~azure.ai.agents.models.AgentsResponseFormatMode,
839+
~azure.ai.agents.models.AgentsResponseFormat,
840840
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
841841
:keyword parallel_tool_calls: If True, tools will be invoked in parallel.
842842
:paramtype parallel_tool_calls: bool
@@ -938,8 +938,8 @@ async def create_thread_and_process_run(
938938
Can be a string, response format mode, or structured response format object that defines how
939939
the agent should structure its outputs.
940940
:paramtype response_format: Optional[Union[str,
941-
~azure.ai.agents.models.AgentsApiResponseFormatMode,
942-
~azure.ai.agents.models.AgentsApiResponseFormat,
941+
~azure.ai.agents.models.AgentsResponseFormatMode,
942+
~azure.ai.agents.models.AgentsResponseFormat,
943943
~azure.ai.agents.models.ResponseFormatJsonSchemaType]]
944944
:keyword parallel_tool_calls: If True, allows tool calls to be executed in parallel.
945945
:paramtype parallel_tool_calls: bool, optional

0 commit comments

Comments
 (0)