MCPcopy Index your code
hub / github.com/mudler/LocalAI / activeChat

Function activeChat

core/http/static/chat.js:2310–2313  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2308 activeRequestIds: [], // Track chat IDs with active requests for UI reactivity
2309
2310 activeChat() {
2311 if (!this.activeChatId) return null;
2312 return this.chats.find(c => c.id === this.activeChatId) || null;
2313 },
2314
2315 getChat(chatId) {
2316 return this.chats.find(c => c.id === chatId) || null;

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected