feat(agent): Connect AI 웹사이트 탐색 기능(read_url) 추가 및 웹 스크래핑 구현
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const templateHTML = `
|
||||
<script>
|
||||
let code = "foo";
|
||||
let h = code.replace(/(\\/\\/[^\\n]*)/g, "");
|
||||
</script>
|
||||
`;
|
||||
console.log(templateHTML);
|
||||
const {JSDOM} = require('jsdom');
|
||||
try { new JSDOM(templateHTML, {runScripts:'dangerously'}); console.log('JSDOM OK'); } catch(e) { console.error('ERR:', e.message); }
|
||||
Reference in New Issue
Block a user