Skip to content

Commit af800b6

Browse files
authored
Updates to add latest omni models, upgrade package lock (#2597)
* Updates to add latest omni models, upgrade package lock * Update reasoning docs with models
1 parent db2a0cd commit af800b6

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

app/backend/approaches/approach.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

app/frontend/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reasoning.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)