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):
133133 # List of GPT reasoning models support
134134 GPT_REASONING_MODELS = {
135135 "o1" : GPTReasoningModelSupport (streaming = False ),
136+ "o3" : GPTReasoningModelSupport (streaming = True ),
136137 "o3-mini" : GPTReasoningModelSupport (streaming = True ),
138+ "o4-mini" : GPTReasoningModelSupport (streaming = True ),
137139 }
138140 # Set a higher token limit for GPT reasoning models
139141 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
1919
2020 Set the environment variables for your Azure OpenAI GPT deployments to your reasoning model
2121
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)
2343
2444 ``` shell
2545 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
2949 azd env set AZURE_OPENAI_API_VERSION 2024-12-01-preview
3050 ```
3151
32- For o1:
52+ For o1: (No streaming support)
3353
3454 ``` shell
3555 azd env set AZURE_OPENAI_CHATGPT_MODEL o1
You can’t perform that action at this time.
0 commit comments