diff --git a/apps/vyper/src/app/utils/remix-client.tsx b/apps/vyper/src/app/utils/remix-client.tsx index 7e4a1952a6..851980eb34 100644 --- a/apps/vyper/src/app/utils/remix-client.tsx +++ b/apps/vyper/src/app/utils/remix-client.tsx @@ -60,6 +60,15 @@ export class RemixClient extends PluginClient { } } + async askGpt(message: string) { + try { + await this.client.call('openaigpt', 'message', message) + } catch (err) { + console.error('unable to askGpt') + console.error(err) + } + } + async cloneVyperRepo() { try { // @ts-ignore