From 749c218c0e9da04704dd0793293bd0c050996596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Tetsing?= Date: Wed, 6 Mar 2024 11:26:11 +0100 Subject: [PATCH] minor --- apps/remix-ide/src/app/plugins/solcoderAI.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/plugins/solcoderAI.tsx b/apps/remix-ide/src/app/plugins/solcoderAI.tsx index 342308fc30..cdf2af2f1b 100644 --- a/apps/remix-ide/src/app/plugins/solcoderAI.tsx +++ b/apps/remix-ide/src/app/plugins/solcoderAI.tsx @@ -35,7 +35,6 @@ export class SolCoder extends Plugin { body: JSON.stringify({"data":[prompt, "code_generation", false,1000,0.2,0.8,50]}), }) ).json() - console.log return "error" in result? result.error : result.data[0] } catch (e) { this.call('terminal', 'log', { type: 'typewritererror', value: `Unable to get a response ${e.message}` }) @@ -92,7 +91,7 @@ export class SolCoder extends Plugin { }) ).json() if (result) { - this.call('terminal', 'log', { type: 'typewriterwarning', value: result.data[0]}) + this.call('terminal', 'log', { type: 'typewriterwarning', value: "\n"+result.data[0]}) } return result.data[0] } catch (e) {