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

Function auto_demo

examples/agent_patterns/forcing_tool_use.py:85–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85async def auto_demo() -> None:
86 for behavior in ("default", "first_tool", "custom"):
87 print(f"=== {behavior} ===")
88 await main(behavior)
89 print()
90
91
92if __name__ == "__main__":

Callers 1

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected