MCPcopy
hub / github.com/openai/openai-agents-python / set_next_output

Method set_next_output

tests/fake_model.py:70–71  ·  view source on GitHub ↗
(self, output: list[TResponseOutputItem] | Exception)

Source from the content-addressed store, hash-verified

68 self.hardcoded_usage = usage
69
70 def set_next_output(self, output: list[TResponseOutputItem] | Exception):
71 self.turn_outputs.append(output)
72
73 def add_multiple_turn_outputs(self, outputs: list[list[TResponseOutputItem] | Exception]):
74 self.turn_outputs.extend(outputs)

Calls 1

appendMethod · 0.80