ADK for TypeScript: API Reference
System
Light
Dark
Search…
Preparing search index...
getLastHumanMessages
函数:getLastHumanMessages
getLastHumanMessages
(
events
:
readonly
Event
[]
)
:
LangGraphHumanMessage
[]
从……中提取用户输入消息中位于末尾的连续字符串(即用户最后输入的那段文字)。
events
.
参数
事件
:
readonly
事件
[]
需要检查的会话事件。
返回值
LangGraphHumanMessage
[]
用户留言按时间顺序排列在页面底部。
ADK for TypeScript: API Reference - v2.5.0
Loading...
从……中提取用户输入消息中位于末尾的连续字符串(即用户最后输入的那段文字)。
events.