MCPcopy
hub / github.com/mudler/LocalAI / updateRequestTracking

Function updateRequestTracking

core/http/static/chat.js:189–194  ·  view source on GitHub ↗
(chatId, isActive)

Source from the content-addressed store, hash-verified

187
188// Helper function to update reactive tracking for UI indicators
189function updateRequestTracking(chatId, isActive) {
190 const chatStore = Alpine.store("chat");
191 if (chatStore && typeof chatStore.updateActiveRequestTracking === 'function') {
192 chatStore.updateActiveRequestTracking(chatId, isActive);
193 }
194}
195
196// Make functions available globally
197window.autoSaveChats = autoSaveChats;

Callers 2

stopRequestFunction · 0.85
promptGPTFunction · 0.85

Calls 1

storeMethod · 0.80

Tested by

no test coverage detected