MCPcopy
hub / github.com/TanStack/ai / StructuredHost

Class StructuredHost

packages/ai-angular/tests/inject-chat.test.ts:130–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 const adapter = createMockConnectionAdapter()
129
130 @Component({ standalone: true, template: '' })
131 class StructuredHost {
132 chat = injectChat({ connection: adapter, outputSchema: schema })
133 }
134 const fixture = TestBed.createComponent(StructuredHost)
135 fixture.detectChanges()
136 return {

Callers

nothing calls this directly

Calls 1

injectChatFunction · 0.90

Tested by

no test coverage detected