MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / message_content

Function message_content

workflow/parser.py:14–17  ·  view source on GitHub ↗
(message: Any)

Source from the content-addressed store, hash-verified

12
13
14def message_content(message: Any) -> str:
15 if hasattr(message, "content"):
16 return str(message.content)
17 return str(message)
18
19
20def flatten_history(history: Iterable[Any]) -> str:

Callers 3

flatten_historyFunction · 0.85
vuln_select_nodeFunction · 0.85
route_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected