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

Method constructor

packages/ai-client/src/devtools.ts:1308–1315  ·  view source on GitHub ↗
(options: GenerationDevtoolsBridgeOptions<TOutput>)

Source from the content-addressed store, hash-verified

1306 protected readonly getCoreState: () => GenerationDevtoolsCoreState<TOutput>
1307
1308 constructor(options: GenerationDevtoolsBridgeOptions<TOutput>) {
1309 super({
1310 ...options,
1311 getSnapshot: () => this.buildSnapshot(),
1312 })
1313 this.maxRuns = options.maxRuns ?? 20
1314 this.getCoreState = options.getCoreState
1315 }
1316
1317 // --- Run lifecycle (called by GenerationClient) -----------------------
1318

Callers

nothing calls this directly

Calls 1

buildSnapshotMethod · 0.95

Tested by

no test coverage detected