Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
forkSession
Function · 0.70
nextSession
Function · 0.70
deleteSession
Function · 0.70
currentSession
Function · 0.70
onNewMessage
Function · 0.70
onUserInput
Function · 0.70
onUpdate
Function · 0.70
onFinish
Function · 0.70
onBeforeTool
Function · 0.70
onAfterTool
Function · 0.70
onError
Function · 0.70
getMemoryPrompt
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected