File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,9 @@ class Approach(ABC):
133
133
# List of GPT reasoning models support
134
134
GPT_REASONING_MODELS = {
135
135
"o1" : GPTReasoningModelSupport (streaming = False ),
136
+ "o3" : GPTReasoningModelSupport (streaming = True ),
136
137
"o3-mini" : GPTReasoningModelSupport (streaming = True ),
138
+ "o4-mini" : GPTReasoningModelSupport (streaming = True ),
137
139
}
138
140
# Set a higher token limit for GPT reasoning models
139
141
RESPONSE_DEFAULT_TOKEN_LIMIT = 1024
Original file line number Diff line number Diff line change @@ -19,7 +19,27 @@ This repository includes an optional feature that uses reasoning models to gener
19
19
20
20
Set the environment variables for your Azure OpenAI GPT deployments to your reasoning model
21
21
22
- For o3-mini:
22
+ For o4-mini:
23
+
24
+ ``` shell
25
+ azd env set AZURE_OPENAI_CHATGPT_MODEL o4-mini
26
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT o4-mini
27
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2025-04-16
28
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_SKU GlobalStandard
29
+ azd env set AZURE_OPENAI_API_VERSION 2025-04-01-preview
30
+ ```
31
+
32
+ For o3:
33
+
34
+ ``` shell
35
+ azd env set AZURE_OPENAI_CHATGPT_MODEL o3
36
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT o3
37
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION 2025-04-16
38
+ azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_SKU GlobalStandard
39
+ azd env set AZURE_OPENAI_API_VERSION 2025-04-01-preview
40
+ ```
41
+
42
+ For o3-mini: (No vision support)
23
43
24
44
``` shell
25
45
azd env set AZURE_OPENAI_CHATGPT_MODEL o3-mini
@@ -29,7 +49,7 @@ This repository includes an optional feature that uses reasoning models to gener
29
49
azd env set AZURE_OPENAI_API_VERSION 2024-12-01-preview
30
50
```
31
51
32
- For o1:
52
+ For o1: (No streaming support)
33
53
34
54
``` shell
35
55
azd env set AZURE_OPENAI_CHATGPT_MODEL o1
You can’t perform that action at this time.
0 commit comments