MCPcopy Index your code
hub / github.com/TanStack/ai / thinkingUpdated

Function thinkingUpdated

packages/ai-client/src/events.ts:145–159  ·  view source on GitHub ↗

* Emit thinking update event

(
    streamId: string,
    messageId: string,
    content: string,
    delta?: string,
    context?: ChatClientRunEventContext,
  )

Source from the content-addressed store, hash-verified

143 * Emit thinking update event
144 */
145 thinkingUpdated(
146 streamId: string,
147 messageId: string,
148 content: string,
149 delta?: string,
150 context?: ChatClientRunEventContext,
151 ): void {
152 this.emitEvent('text:chunk:thinking', {
153 streamId,
154 messageId,
155 content,
156 delta,
157 ...context,
158 })
159 }
160
161 structuredOutputChanged(
162 eventName: ChatClientStructuredOutputEventName,

Callers

nothing calls this directly

Calls 1

emitEventMethod · 0.45

Tested by

no test coverage detected