try / .html
abdullahalioo's picture
Upload 22 files
ce23758 verified
raw
history blame contribute delete
327 Bytes
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
(async () => {
const resp = await puter.ai.chat('good', {model: 'grok-beta', stream: true });
for await ( const part of resp ) puter.print(part?.text?.replaceAll('\n', '<br>'));
})();
</script>
</body>
</html>