Closed
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