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

Function get_text_input_item

tests/test_responses.py:23–27  ·  view source on GitHub ↗
(content: str)

Source from the content-addressed store, hash-verified

21
22
23def get_text_input_item(content: str) -> TResponseInputItem:
24 return {
25 "content": content,
26 "role": "user",
27 }
28
29
30def get_text_message(content: str) -> ResponseOutputItem:

Calls

no outgoing calls

Tested by

no test coverage detected