MCPcopy
hub / github.com/opentrace/opentrace / NoopStrategy

Class NoopStrategy

ui/src/runner/browser/enricher/summarizer/strategy.ts:240–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238// ---------------------------------------------------------------------------
239
240class NoopStrategy implements SummarizationStrategy {
241 readonly type = 'none' as const;
242
243 async init(): Promise<void> {}
244 async summarize(): Promise<string> {
245 return '';
246 }
247 async summarizeBatch(items: SymbolMetadata[]): Promise<string[]> {
248 return items.map(() => '');
249 }
250 async dispose(): Promise<void> {}
251}
252
253// ---------------------------------------------------------------------------
254// Factory

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected