-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds-more-infoWaiting for a reply/more info from the authorWaiting for a reply/more info from the author
Description
run_config
is not passed to the new run when we use agent.as_tool()
. Therefore, if a custom provider is set, it cannot run the tool agent.
Debug information
- Agents SDK version: 0.0.9
- Python version: 3.11.11
Expected behavior
run_config
must be passed in a way to the runner of "as_tool agent" so the "tool-run" is done with the same configuration than the main run.
openai-agents-python/src/agents/agent.py
Line 211 in 84fb734
output = await Runner.run( |
louis-sanna-eki
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-more-infoWaiting for a reply/more info from the authorWaiting for a reply/more info from the author