Skip to content

Commit 8cd1902

Browse files
jsonbaileyclaude
andcommitted
fix: use _Runner alias for agents SDK to avoid isort lint failure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent abcf06f commit 8cd1902

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/ai-providers/server-ai-openai/src/ldai_openai/openai_agent_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def run(
6363
metrics including aggregated token usage and observed ``tool_calls``.
6464
"""
6565
try:
66-
from agents import Agent, Runner as AgentsRunner
66+
from agents import Agent, Runner as _Runner
6767
except ImportError:
6868
log.warning(
6969
"openai-agents is required for OpenAIAgentRunner. "
@@ -86,7 +86,7 @@ async def run(
8686
model_settings=model_settings,
8787
)
8888

89-
result = await AgentsRunner.run(agent, str(input), max_turns=25)
89+
result = await _Runner.run(agent, str(input), max_turns=25)
9090

9191
tool_calls = [
9292
ld_name

0 commit comments

Comments
 (0)