UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

6 lines (5 loc) • 161 B
export async function appendAdmittedRow(admit, session, row) { if (admit !== undefined) await admit([row]); return session.appendMessage(row); }