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

Function get

app/store/chat.ts:235–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233 DEFAULT_CHAT_STATE,
234 (set, _get) => {
235 function get() {
236 return {
237 ..._get(),
238 ...methods,
239 };
240 }
241
242 const methods = {
243 forkSession() {

Callers 15

forkSessionFunction · 0.70
nextSessionFunction · 0.70
deleteSessionFunction · 0.70
currentSessionFunction · 0.70
onNewMessageFunction · 0.70
onUserInputFunction · 0.70
onUpdateFunction · 0.70
onFinishFunction · 0.70
onBeforeToolFunction · 0.70
onAfterToolFunction · 0.70
onErrorFunction · 0.70
getMemoryPromptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected