MCPcopy Create free account
hub / github.com/Roy3838/Observer / restartTutorial

Function restartTutorial

app/src/components/EditAgent/SimpleCreatorModal.tsx:267–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265 };
266
267 const restartTutorial = () => {
268 setStep(1);
269 setName('Person Watcher');
270 setSystemPrompt('');
271 setSelectedTools(new Map());
272 setConditionEnabled(false);
273 setConditionKeyword('');
274 setTutorialStep(1);
275 };
276
277 const resetState = useCallback(() => {
278 setStep(1); setName(''); setAgentId(''); setModel(''); setSystemPrompt('');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected