You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAIAgentsIntegration crashes when Runner.run is called with starting_agent kwarg #6418
Initialize Sentry with OpenAIAgentsIntegration enabled
Call OpenAI Agents SDK Runner.run with the agent passed as the documented keyword argument:
from agents import Agent, Runner
agent = Agent(name="test", instructions="Be concise.")
await Runner.run(
starting_agent=agent,
input="hello",
)
### Expected Result
`OpenAIAgentsIntegration` should support valid `Runner.run` call shapes where the starting agent is passed by keyword:
Activity
linear-code commentedon May 26, 2026
PY-2498
ericapisani commentedon May 26, 2026
Hi @guadalupe-duolingo ,
Thanks for opening an issue with us, we'll take a look when we have a moment.
fix(openai_agents): Handle starting_agent keyword argument in runner …
fix(openai_agents): Handle starting_agent keyword argument in runner …