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

Method mountDevtools

packages/ai-client/src/chat-client.ts:438–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

436 }
437
438 mountDevtools(): void {
439 if (this.devtoolsMounted) {
440 return
441 }
442
443 this.devtoolsMounted = true
444 this.devtoolsBridge.mountWithTools(this.processor.getMessages().length)
445 }
446
447 /**
448 * Drain a runId-less RUN_ERROR that belongs to a cleared run the client is

Callers 15

injectChatFunction · 0.95
useChatFunction · 0.95
sendMessageMethod · 0.95
appendMethod · 0.95
createClientFunction · 0.95
createChatFunction · 0.95
injectGenerationFunction · 0.45
injectGenerateVideoFunction · 0.45
useGenerationFunction · 0.45
useGenerateVideoFunction · 0.45
useGenerationFunction · 0.45
useChatFunction · 0.45

Calls 2

mountWithToolsMethod · 0.45
getMessagesMethod · 0.45

Tested by 1

createClientFunction · 0.76