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

Function add

app/store/prompt.ts:40–42  ·  view source on GitHub ↗
(prompt: Prompt)

Source from the content-addressed store, hash-verified

38 },
39
40 add(prompt: Prompt) {
41 this.userEngine.add(prompt);
42 },
43
44 search(text: string) {
45 const userResults = this.userEngine.search(text);

Callers

nothing calls this directly

Calls 3

nanoidFunction · 0.85
getFunction · 0.70
setFunction · 0.50

Tested by

no test coverage detected