MCPcopy
hub / github.com/vercel/chatbot / detectRequiredHandlers

Function detectRequiredHandlers

artifacts/code/client.tsx:55–63  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

53};
54
55function detectRequiredHandlers(code: string): string[] {
56 const handlers: string[] = ['basic'];
57
58 if (code.includes('matplotlib') || code.includes('plt.')) {
59 handlers.push('matplotlib');
60 }
61
62 return handlers;
63}
64
65interface Metadata {
66 outputs: Array<ConsoleOutput>;

Callers 1

client.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…