Skip to content
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

Merged
merged 36 commits into from
Oct 26, 2024
Merged

Remixai chat #5241

merged 36 commits into from
Oct 26, 2024

Conversation

STetsing
Copy link
Collaborator

@STetsing STetsing commented Oct 2, 2024

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

@STetsing STetsing added the WIP label Oct 2, 2024
@STetsing STetsing requested a review from LianaHus October 2, 2024 08:57
Base automatically changed from desktope2e-remixai to master October 7, 2024 14:41

const chunk = parser.safeJsonParse<{ generatedText: string; isGenerating: boolean }>(response);
for (const parsedData of chunk) {
if (parsedData.isGenerating) {
Copy link
Collaborator

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

Copy link

netlify bot commented Oct 10, 2024

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit f5e116e
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/671ce78916a1250008061959
😎 Deploy Preview https://deploy-preview-5241--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@STetsing STetsing requested review from LianaHus and yann300 October 14, 2024 14:07
@@ -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)
Copy link
Contributor

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)
Copy link
Contributor

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.

Copy link
Collaborator Author

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

Copy link
Collaborator

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

@yann300
Copy link
Contributor

yann300 commented Oct 14, 2024

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() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need those?

Copy link
Collaborator Author

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

@STetsing
Copy link
Collaborator Author

when you started receiving responses from the model, how do you get back to the plugin front page?

@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

@STetsing STetsing removed the WIP label Oct 17, 2024
@yann300 yann300 self-requested a review October 24, 2024 11:33
@Aniket-Engg Aniket-Engg merged commit 05e025e into master Oct 26, 2024
32 checks passed
@Aniket-Engg Aniket-Engg deleted the remixai__chat branch October 26, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants