MCPcopy
hub / github.com/ChatGPTNextWeb/NextChat / remove

Function remove

app/store/prompt.ts:36–38  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

34 },
35
36 remove(id: string) {
37 this.userEngine.remove((doc) => doc.id === id);
38 },
39
40 add(prompt: Prompt) {
41 this.userEngine.add(prompt);

Callers

nothing calls this directly

Calls 2

getFunction · 0.70
setFunction · 0.50

Tested by

no test coverage detected