MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / setPrompt

Method setPrompt

aitc/aitc.ts:142–146  ·  view source on GitHub ↗
(alias: string, prompt: string)

Source from the content-addressed store, hash-verified

140 return {};
141 }
142 }
143
144 static setPrompt(alias: string, prompt: string): void {
145 const map = this.getPromptMap();
146 map[alias] = prompt;
147 this.set(CONFIG_KEYS.PROMPT_MAP, JSON.stringify(map));
148 }
149}

Callers 1

handleAitcCommandFunction · 0.80

Calls 2

getPromptMapMethod · 0.95
setMethod · 0.95

Tested by

no test coverage detected