MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / handleStep

Function handleStep

content/sub2api-panel.js:65–74  ·  view source on GitHub ↗
(step, payload = {})

Source from the content-addressed store, hash-verified

63}
64
65async function handleStep(step, payload = {}) {
66 switch (step) {
67 case 1:
68 return step1_generateOpenAiAuthUrl(payload);
69 case 9:
70 return step9_submitOpenAiCallback(payload);
71 default:
72 throw new Error(`sub2api-panel.js 不处理步骤 ${step}`);
73 }
74}
75
76async function requestOAuthUrl(payload = {}) {
77 return step1_generateOpenAiAuthUrl(payload, { report: false });

Callers 1

sub2api-panel.jsFile · 0.70

Calls 2

Tested by

no test coverage detected