mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
21 lines
716 B
JavaScript
21 lines
716 B
JavaScript
|
|
// Debug the session mapping for the current DM room
|
|
const roomId = '!dECWvepUhwCyZwBjhL:tchncs.de'; // Replace with your actual room ID
|
|
|
|
console.log('🔍 DEBUGGING SESSION MAPPING:');
|
|
console.log('Room ID:', roomId);
|
|
|
|
// Check session mapping
|
|
const mapping = sessionMappingService.getMapping(roomId);
|
|
console.log('Session mapping:', mapping);
|
|
|
|
if (mapping) {
|
|
console.log('Backend session ID:', mapping.gooseSessionId);
|
|
console.log('Should make backend calls:', sessionMappingService.shouldMakeBackendCalls(roomId));
|
|
console.log('Backend session ID for API:', sessionMappingService.getBackendSessionId(roomId));
|
|
}
|
|
|
|
// Check all mappings
|
|
console.log('All mappings:', sessionMappingService.getAllMappings());
|
|
|