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

Function get_final_output_message

tests/test_responses.py:89–96  ·  view source on GitHub ↗
(args: str)

Source from the content-addressed store, hash-verified

87
88
89def get_final_output_message(args: str) -> ResponseOutputItem:
90 return ResponseOutputMessage(
91 id="1",
92 type="message",
93 role="assistant",
94 content=[ResponseOutputText(text=args, type="output_text", annotations=[], logprobs=[])],
95 status="completed",
96 )

Calls

no outgoing calls

Tested by

no test coverage detected