MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / resetSystemPrompt

Function resetSystemPrompt

src/runtime-config.js:180–188  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

178}
179
180export function resetSystemPrompt(key) {
181 if (key) {
182 if (_state.systemPrompts && SYSTEM_PROMPT_KEYS.has(key)) delete _state.systemPrompts[key];
183 } else {
184 _state.systemPrompts = {};
185 }
186 persist();
187 return getSystemPrompts();
188}
189
190// ─── Credentials (v2.0.56 runtime rotation) ────────────────────────────
191

Callers 1

handleDashboardApiFunction · 0.90

Calls 2

persistFunction · 0.85
getSystemPromptsFunction · 0.85

Tested by

no test coverage detected