Skip to content

Commit c760f83

Browse files
committed
fixes
1 parent 71e8117 commit c760f83

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

articles/ai-foundry/model-inference/includes/use-chat-reasoning/python.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ To complete this tutorial, you need:
2121

2222
[!INCLUDE [how-to-prerequisites-python](../how-to-prerequisites-python.md)]
2323

24+
> [!IMPORTANT]
25+
> API version 2025-05-01 is supported from `azure-ai-inference>=1.0.0b10`.
26+
2427
* A model with reasoning capabilities model deployment. If you don't have one read [Add and configure models to Azure AI services](../../how-to/create-model-deployments.md) to add a reasoning model.
2528

2629
* This example uses `DeepSeek-R1`.

articles/ai-foundry/model-inference/includes/use-chat-reasoning/rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ The output looks as follows:
197197
"delta": {
198198
"role": "assistant",
199199
"content": "",
200-
"reasoning_content": "",
200+
"reasoning_content": "Okay, the",
201201
},
202202
"finish_reason": null,
203203
"logprobs": null
@@ -219,7 +219,7 @@ The output looks as follows:
219219
"index": 0,
220220
"delta": {
221221
"role": "assistant",
222-
"content": ""
222+
"content": "<think>"
223223
},
224224
"finish_reason": null,
225225
"logprobs": null

0 commit comments

Comments
 (0)