forcedotcom / Einstein-GPT-for-Developers

Einstein GPT For Developers
BSD 3-Clause "New" or "Revised" License
31 stars 8 forks source link

VS Code Extension Not Working #63

Closed brohangutenburg closed 4 months ago

brohangutenburg commented 4 months ago

Summary

So I downloaded Einstein for developers. But when I go to the tab in set up there’s no option to enable it even though the tab is there, just instructions on downloading it.

And when I go to my vsc workspace I can see it in my extension but the only command available in the command palette is Einstein > Getting Started

What’s going on??

Expected result

Have commands available in the palette and see the Einstein Icon in Vs Code

Actual result

The only available command is >Einstein: Getting Started

Additional information

Salesforce Extension Version in VS Code: v60.7.0 Salesforce Einstein For Developers Version in VS Code: v0.43.1 OS and version: Mac 13.6.1 (22G313) VS Code version: 1.88.0 (Universal)

kokilatechit commented 4 months ago

I also face the same issue. Can you help here? I see Einstein for Developers in status bar but not in Side bar.

KatCodeland commented 4 months ago

I also have the same issue.
I last used the extension on Apr 5th. but since then the extension has not been working for me, despite uninstalling and reinstalling.

Its confirmed that the extension is still installed and enabled however, the following are no longer working:

image

brohangutenburg commented 4 months ago

@KatCodeland what do you see when you go to "Einstein for Developers" in setup? I assume when your extension was working you enabled it there? Do you still see the slider enabled?

klewis-sfdc commented 4 months ago

@brohangutenburg Thank you for reporting the issue.

Re: not seeing the ability to enable Einstein for Developers in your org, the permission is enabled by default now so there should be no need to toggle/enable the feature in your org.

Re: seeing the icon in the Status bar but not the Side bar:

brohangutenburg commented 4 months ago

@klewis-sfdc i will be in front of my console again in a few minutes (eclipse lol). But as far as show as "Show Running Extensions," when I tested that last night it showed an activation time like every other extension.

KatCodeland commented 4 months ago

@brohangutenburg - Ive toggled it back on in the org setup now, followed by restarting VS Code but still unable to see the extension or commands (Ive confirmed the org is still set as the default org in VS Code). image

I then uninstalled and reinstalled the extension, but still unable to see it in the side bar and still no commands available.

randi274 commented 4 months ago

Thanks to everyone here actively troubleshooting with us! What we're seeing is that the Status Icon appears in the bottom panel, but that the only visible command is Einstein: Getting Started. It's looking like we have some issues with the current version of the Salesforce CLI Extension.

The workaround is to downgrade to the previous version of the Salesforce CLI Integration extension to 60.5.1. Here's the fastest way to do that directly from VS Code:

Screenshot 2024-04-08 at 4 45 53 PM Screenshot 2024-04-08 at 4 47 05 PM

We'll keep this thread updated as we work with that team to get a fix pushed out. Thanks in advance for your patience!

brohangutenburg commented 4 months ago

@randi274 Thank y'all so much for a workaround. Can't wait to try this. I've been so excited to try out Einstein. I use git's copilot a ton and the idea of a copilot that's trained on Salesforce could be a game changer.

klewis-sfdc commented 4 months ago

Thank you all for your patience as we investigate this issue further. We are working towards another release of the Salesforce CLI extension to resolve the issue. Will comment again here when that release is published.

brohangutenburg commented 4 months ago

@klewis-sfdc hot DAMN! You guys are ON TOP of things. Thanks for being so responsive with this.

KatCodeland commented 4 months ago

@randi274 @klewis-sfdc - Thank you for the quick updates and the workaround.

Unfortunately after downgrading my CLI extension to 60.5.1 and restarting VS code, i am still not able to see the commands in the pallette and if i type any salesforcedx-einstein-gpt commands they are not recognized. image

For some reason the extension does not seem to be running at all despite it being enabled in both VSCode and in the Org (the extension does not appear in the running extensions list (Developer: Show Running Extensions command)

Ive also additionally tried downgrading Einstein extension to 0.43.0 and restarting VS Code again image

Not sure if this is only me experiencing this issue. I was previously using the Einstein extension up until last week with no issues. Apr 5th was the last time i was successfully using it. If this is just an issue that only I am facing, where is the best place to get support on this.

brohangutenburg commented 4 months ago

@KatCodeland @randi274

Hey sorry. Wifi was down all night and been in meetings all morning.

Just wanted to pop in and confirm that the downgrade did indeed work for me and Einstein is displaying all the commands. Can't wait to play with it. Thanks again

klewis-sfdc commented 4 months ago

FYI for all we have a fix candidate that we are analyzing in the Einstein for Developers repo. We are hoping to get that fix out with this week's release.

In the meantime @KatCodeland It does seem odd that downgrading the CLI extension didn't work for you. We are seeing that workaround work for many Users. You might try uninstalling the CLI extension and then reinstalling, and then downgrading it to 60.5.1 and reloading. There could be a caching issue going on.

klewis-sfdc commented 4 months ago

Hello all, Thank you again for your patience as we worked to resolve this issue. Today's release of the Einstein for Developers extension (v0.43.2) should resolve this issue. If it does not, please feel free to comment here and we will reopen and take another look.
-Ken