diff --git a/docs/models/index.md b/docs/models/index.md index b2625d973f..daa78f8b5d 100644 --- a/docs/models/index.md +++ b/docs/models/index.md @@ -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( diff --git a/docs/voice/quickstart.md b/docs/voice/quickstart.md index cd9126447e..7aa817f6cd 100644 --- a/docs/voice/quickstart.md +++ b/docs/voice/quickstart.md @@ -132,7 +132,6 @@ import sounddevice as sd from agents import ( Agent, function_tool, - set_tracing_disabled, ) from agents.voice import ( AudioInput,