MCPcopy Index your code
hub / github.com/openai/openai-agents-python / agents_as_tools_conditional.py

File agents_as_tools_conditional.py

examples/agent_patterns/agents_as_tools_conditional.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import asyncio
2
3from pydantic import BaseModel
4

Callers

nothing calls this directly

Calls 5

AgentClass · 0.90
ModelSettingsClass · 0.90
as_toolMethod · 0.80
mainFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected