-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remixai chat #5241
Remixai chat #5241
Conversation
|
||
const chunk = parser.safeJsonParse<{ generatedText: string; isGenerating: boolean }>(response); | ||
for (const parsedData of chunk) { | ||
if (parsedData.isGenerating) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you are not using right setup for linter
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -74,15 +74,17 @@ export function Container () { | |||
explain why the error occurred and how to fix it. | |||
` | |||
// @ts-ignore | |||
await circuitApp.plugin.call('remixAI', 'error_explaining', message) | |||
await circuitApp.plugin.call('remixAI' as any, 'chatPipe', 'error_explaining', message) | |||
// await circuitApp.plugin.call('remixAI', 'error_explaining', message) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you remove all the comments?
|
||
setRemixAIOnSidePannel(resize:boolean=false){ | ||
if (resize){ | ||
this.call('sidePanel', 'pinView', profile) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if
and else
are doing the same thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Waiting for some answers from David to resize the sidepanel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will remove it from there anyway, you don't need to do this @STetsing
when you started receiving responses from the model, how do you get back to the plugin front page? |
@@ -161,9 +176,44 @@ export class RemixAIPlugin extends Plugin { | |||
} | |||
} | |||
|
|||
// render() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This goes out from this PR
@yann300 for the moment you can't go back. We can only reinitialize the chat to be empty, which will display the plug-in front page |
…ject into remixai__chat
Introducing RemixAI Chat
A new Chat interface for interacting with your contracts using AI.
This PR also fixes the Monaco editor show suggestion by enforcing the suggestion location in the editor