Merge pull request #57 from sumitaryal/fix-typo-models.md

Fix typo in models.md
This commit is contained in:
Rohan Mehta 2025-03-11 22:33:33 -07:00 committed by GitHub
commit 9a32ff5172
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
# Models # Models
The Agents SDK comes with out of the box support for OpenAI models in two flavors: The Agents SDK comes with out-of-the-box support for OpenAI models in two flavors:
- **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). - **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).
- The [`OpenAIChatCompletionsModel`][agents.models.openai_chatcompletions.OpenAIChatCompletionsModel], which calls OpenAI APIs using the [Chat Completions API](https://platform.openai.com/docs/api-reference/chat). - The [`OpenAIChatCompletionsModel`][agents.models.openai_chatcompletions.OpenAIChatCompletionsModel], which calls OpenAI APIs using the [Chat Completions API](https://platform.openai.com/docs/api-reference/chat).
@ -48,7 +48,7 @@ async def main():
print(result.final_output) print(result.final_output)
``` ```
1. Sets the the name of an OpenAI model directly. 1. Sets the name of an OpenAI model directly.
2. Provides a [`Model`][agents.models.interface.Model] implementation. 2. Provides a [`Model`][agents.models.interface.Model] implementation.
## Using other LLM providers ## Using other LLM providers