Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/models/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,9 @@ Within a single workflow, you may want to use different models for each agent. F
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.

```python
from agents import Agent, Runner, AsyncOpenAI, OpenAIChatCompletionsModel
from openai import AsyncOpenAI

from agents import Agent, Runner, OpenAIChatCompletionsModel
import asyncio

spanish_agent = Agent(
Expand Down
1 change: 0 additions & 1 deletion docs/voice/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ import sounddevice as sd
from agents import (
Agent,
function_tool,
set_tracing_disabled,
)
from agents.voice import (
AudioInput,
Expand Down