Skip to content

Commit 9a32ff5

Browse files
authored
Merge pull request #57 from sumitaryal/fix-typo-models.md
Fix typo in models.md
2 parents dbc46d7 + 9598b29 commit 9a32ff5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/models.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Models
22

3-
The Agents SDK comes with out of the box support for OpenAI models in two flavors:
3+
The Agents SDK comes with out-of-the-box support for OpenAI models in two flavors:
44

55
- **Recommended**: the [`OpenAIResponsesModel`][agents.models.openai_responses.OpenAIResponsesModel], which calls OpenAI APIs using the new [Responses API](https://platform.openai.com/docs/api-reference/responses).
66
- The [`OpenAIChatCompletionsModel`][agents.models.openai_chatcompletions.OpenAIChatCompletionsModel], which calls OpenAI APIs using the [Chat Completions API](https://platform.openai.com/docs/api-reference/chat).
@@ -15,7 +15,7 @@ Within a single workflow, you may want to use different models for each agent. F
1515

1616
!!!note
1717

18-
While our SDK supports both the [`OpenAIResponsesModel`][agents.models.openai_responses.OpenAIResponsesModel] and the[`OpenAIChatCompletionsModel`][agents.models.openai_chatcompletions.OpenAIChatCompletionsModel] shapes, we recommend using a single model shape for each workflow because the two shapes support a different set of features and tools. If your workflow requires mixing and matching model shapes, make sure that all the features you're using are available on both.
18+
While our SDK supports both the [`OpenAIResponsesModel`][agents.models.openai_responses.OpenAIResponsesModel] and the [`OpenAIChatCompletionsModel`][agents.models.openai_chatcompletions.OpenAIChatCompletionsModel] shapes, we recommend using a single model shape for each workflow because the two shapes support a different set of features and tools. If your workflow requires mixing and matching model shapes, make sure that all the features you're using are available on both.
1919

2020
```python
2121
from agents import Agent, Runner, AsyncOpenAI, OpenAIChatCompletionsModel
@@ -48,7 +48,7 @@ async def main():
4848
print(result.final_output)
4949
```
5050

51-
1. Sets the the name of an OpenAI model directly.
51+
1. Sets the name of an OpenAI model directly.
5252
2. Provides a [`Model`][agents.models.interface.Model] implementation.
5353

5454
## Using other LLM providers

0 commit comments

Comments
 (0)