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

Function _human_message

workflow/nodes.py:20–26  ·  view source on GitHub ↗
(content: str)

Source from the content-addressed store, hash-verified

18
19
20def _human_message(content: str) -> Any:
21 try:
22 from langchain_core.messages import HumanMessage
23
24 return HumanMessage(content=content)
25 except ImportError:
26 return content
27
28
29def _ai_message(content: str) -> Any:

Callers 2

vuln_select_nodeFunction · 0.85
check_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected