added remixAI api

pull/5100/head
STetsing 2 months ago
parent a49dde435f
commit 3fb2da4bb9
  1. 2
      apps/remix-ide/src/app/plugins/remixAIPlugin.tsx
  2. 2
      libs/remix-api/src/lib/remix-api.ts

@ -11,7 +11,7 @@ const profile = {
methods: ['code_generation', 'code_completion',
"solidity_answer", "code_explaining",
"code_insertion", "error_explaining",
"initialize"],
"initialize", "chatPipe", "ProcessChatRequestBuffer"],
events: [],
icon: 'assets/img/remix-logo-blue.png',
description: 'RemixAI provides AI services to Remix IDE.',

@ -13,6 +13,7 @@ import { ISidePanelApi } from "./plugins/sidePanel-api"
import { IPinnedPanelApi } from "./plugins/pinned-panel-api"
import { ILayoutApi } from "./plugins/layout-api"
import { IMatomoApi } from "./plugins/matomo-api"
import { IRemixAI } from "./plugins/remixai-api"
export interface ICustomRemixApi extends IRemixApi {
dgitApi: IGitApi
@ -29,6 +30,7 @@ export interface ICustomRemixApi extends IRemixApi {
pinnedPanel: IPinnedPanelApi
layout: ILayoutApi
matomo: IMatomoApi
remixAI: IRemixAI
}
export declare type CustomRemixApi = Readonly<ICustomRemixApi>
Loading…
Cancel
Save