Skip to content

Commit 6080f17

Browse files
committed
Update documentation with latest OpenAI features
1 parent 3fd6f63 commit 6080f17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The support for OpenAI chat clients provided in [Microsoft.Extensions.AI.OpenAI]
6868
a single model identifier for all requests, at the time the `OpenAIClient.GetChatClient` is
6969
invoked.
7070
* Setting reasoning effort: the Microsoft.Extensions.AI API does not expose a way to set reasoning
71-
effort for reasoning-capable models, which is very useful for some models like `o4-mini`.
71+
effort for reasoning-capable models, which is very useful for some models like `gpt-5.2`.
7272

7373
So solve both issues, this package provides an `OpenAIChatClient` that wraps the underlying
7474
`OpenAIClient` and allows setting the model identifier and reasoning effort per request, just
@@ -86,15 +86,15 @@ IChatClient chat = new OpenAIChatClient(Environment.GetEnvironmentVariable("OPEN
8686
var options = new ChatOptions
8787
{
8888
ModelId = "gpt-5-mini", // 👈 can override the model on the client
89-
ReasoningEffort = ReasoningEffort.High, // 👈 or Medium/Low/Minimal, extension property
89+
ReasoningEffort = ReasoningEffort.High, // 👈 or Medium/Low/Minimal/None, extension property
9090
};
9191

9292
var response = await chat.GetResponseAsync(messages, options);
9393
```
9494

9595
> [!TIP]
9696
> We provide support for the newest `Minimal` reasoning effort in the just-released
97-
> GPT-5 model family.
97+
> GPT-5 model family as well as `None` which is the new default in GPT-5.2.
9898
9999
### Web Search
100100

0 commit comments

Comments
 (0)