MCPcopy Create free account
hub / github.com/TanStack/ai / agentLoop

Method agentLoop

packages/ai/src/logger/internal-logger.ts:92–94  ·  view source on GitHub ↗

Log an agent-loop iteration marker or phase transition. Chat-only.

(message: string, meta?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

90
91 /** Log an agent-loop iteration marker or phase transition. Chat-only. */
92 agentLoop(message: string, meta?: Record<string, unknown>): void {
93 this.emit('debug', 'agentLoop', message, meta)
94 }
95
96 /** Log a config transform returned by a middleware `onConfig` hook. Chat-only. */
97 config(message: string, meta?: Record<string, unknown>): void {

Callers 2

runMethod · 0.80

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected