Appearance
ema / ema / checkCompleteMessages
Function: checkCompleteMessages()
ts
function checkCompleteMessages(messages): boolean;Defined in: packages/ema/src/agent.ts:75
Reports whether the message history represents a complete model response.
Parameters
messages
Message[]
Message history to inspect.
Returns
boolean
True when the last message is a model message without tool calls.