import { ProbeChat } from './probeChat.js';
async function testSimpleTracing() {
console.log('Testing simple tracing...\n');
try {
const probeChat = new ProbeChat({
debug: true
});
const message = 'Here is an image: https://github.com/user-attachments/assets/example.png';
console.log('🔍 Testing extractImageUrls function...');
const { extractImageUrls } = await import('./probeChat.js');
const result = extractImageUrls(message, true);
console.log('✅ extractImageUrls result:', result);
console.log('🎉 Test completed!');
} catch (error) {
console.error('❌ Test failed:', error.message);
}
}
testSimpleTracing().catch(console.error);