renamed sol-gpt to remix ai

remixai-plugin
Stéphane Tetsing 6 months ago
parent 87a6583c31
commit fa42b5ea11
  1. 2
      apps/circuit-compiler/src/app/components/feedbackAlert.tsx
  2. 6
      apps/remix-ide/src/app/plugins/solcoderAI.tsx
  3. 2
      libs/remix-ui/renderer/src/lib/renderer.tsx

@ -24,7 +24,7 @@ export function FeedbackAlert ({ message, askGPT }: FeedbackAlertProps) {
<span className="border border-success text-success btn-sm" onClick={(e) => {
e.stopPropagation()
askGPT()
}}>ASK SOL-GPT</span>
}}>ASK Remix AI</span>
</div>
</>
</RenderIf>

@ -80,7 +80,7 @@ export class SolCoder extends Plugin {
async solidity_answer(prompt): Promise<any> {
this.emit("aiInfering")
this.call('layout', 'maximizeTerminal')
this.call('terminal', 'log', { type: 'aitypewriterwarning', value: `\n\nWaiting for SOL-GPT answer...` })
this.call('terminal', 'log', { type: 'aitypewriterwarning', value: `\n\nWaiting for Remix AI answer...` })
_paq.push(['trackEvent', 'ai', 'solcoder', 'answering'])
let result
@ -117,7 +117,7 @@ export class SolCoder extends Plugin {
async code_explaining(prompt, context:string=""): Promise<any> {
this.emit("aiInfering")
this.call('layout', 'maximizeTerminal')
this.call('terminal', 'log', { type: 'aitypewriterwarning', value: `\n\nWaiting for SOL-GPT answer...` })
this.call('terminal', 'log', { type: 'aitypewriterwarning', value: `\n\nWaiting for Remix AI answer...` })
_paq.push(['trackEvent', 'ai', 'solcoder', 'explaining'])
let result
@ -233,7 +233,7 @@ export class SolCoder extends Plugin {
async error_explaining(prompt): Promise<any> {
this.emit("aiInfering")
this.call('layout', 'maximizeTerminal')
this.call('terminal', 'log', { type: 'aitypewriterwarning', value: `\n\nWaiting for SOL-GPT answer...` })
this.call('terminal', 'log', { type: 'aitypewriterwarning', value: `\n\nWaiting for Remix AI answer...` })
_paq.push(['trackEvent', 'ai', 'solcoder', 'explaining'])
let result

@ -111,7 +111,7 @@ export const Renderer = ({ message, opt = {}, plugin }: RendererProps) => {
onClick={() => { askGtp() }}
style={{ borderColor: "var(--ai)" }}
>
ASK SOL-GPT
ASK Remix AI
</span>
</div>

Loading…
Cancel
Save