Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mudler/LocalAI
/ getChat
Function
getChat
core/http/static/chat.js:2315–2317 ·
view source on GitHub ↗
(chatId)
Source
from the content-addressed store, hash-verified
2313
},
2314
2315
getChat(chatId) {
2316
return
this.chats.find(c => c.id === chatId) || null;
2317
},
2318
2319
createChat(model, systemPrompt, mcpMode) {
2320
const
chatId = generateChatId();
Callers
nothing calls this directly
Calls
1
find
Method · 0.80
Tested by
no test coverage detected