MCPcopy
hub / github.com/danielmiessler/Fabric / streamPattern

Method streamPattern

web/src/lib/services/ChatService.ts:254–264  ·  view source on GitHub ↗
(
		userInput: string,
		systemPromptText?: string,
	)

Source from the content-addressed store, hash-verified

252 }
253
254 public async streamPattern(
255 userInput: string,
256 systemPromptText?: string,
257 ): Promise<ReadableStream<StreamResponse>> {
258 const request = await this.createChatRequest(
259 userInput,
260 systemPromptText,
261 true,
262 );
263 return this.fetchStream(request);
264 }
265
266 public async streamChat(
267 userInput: string,

Callers

nothing calls this directly

Calls 2

createChatRequestMethod · 0.95
fetchStreamMethod · 0.95

Tested by

no test coverage detected