MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / make_agent_message

Function make_agent_message

tests/unit/test_issue_duplicate_scripts.py:28–33  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

26
27
28def make_agent_message(text: str) -> dict:
29 return {
30 'kind': 'MessageEvent',
31 'source': 'agent',
32 'llm_message': {'content': [{'type': 'text', 'text': text}]},
33 }
34
35
36def iso_timestamp(value: datetime) -> str:

Calls

no outgoing calls

Tested by

no test coverage detected