(chatId, isActive)
| 187 | |
| 188 | // Helper function to update reactive tracking for UI indicators |
| 189 | function 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 |
| 197 | window.autoSaveChats = autoSaveChats; |
no test coverage detected