comment update event

pull/5370/head
yann300 1 year ago
parent a2a8e02820
commit 20c28b9d14
  1. 3
      apps/remix-ide/src/app/plugins/copilot/suggestion-service/worker.js

@ -71,11 +71,12 @@ self.addEventListener('message', async (event) => {
// Allows for partial output // Allows for partial output
callback_function: x => { callback_function: x => {
self.postMessage({ /*self.postMessage({
id, id,
status: 'update', status: 'update',
output: generator.tokenizer.decode(x[0].output_token_ids, { skip_special_tokens: true }) output: generator.tokenizer.decode(x[0].output_token_ids, { skip_special_tokens: true })
}); });
*/
} }
}); });

Loading…
Cancel
Save