forcedotcom / Einstein-GPT-for-Developers

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

Agentforce loading not displaying the chatbot #98

Closed munawirrahman closed 1 month ago

munawirrahman commented 1 month ago

Summary

Agentforce stuck on this page, tried uninstalling, reinstalling, clearing cache and everything.

Steps To Reproduce:

  1. Open the Agentforce menu on vscode

Expected result

Chatbot loaded

Actual result

stuck on this page

Additional information

Screenshot 2024-10-02 at 15 27 06

Salesforce Extension Version in VS Code: v61.15.0

Salesforce CLI Version: @salesforce/cli/2.59.6 darwin-arm64 node-v20.17.0

OS and version: Sonoma 14.7

VS Code version: 1.93.1 (Universal)

Most recent version of the extensions where this was working: Never used this before

svc-idee-bot commented 1 month ago

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

gbockus-sf commented 1 month ago

Hi @munawirrahman The A4D extension depends on the Salesforce CLI & Apex extension successfully activating in order to finish activation (Depends on org authorization & Apex LSP for context etc). Looking at the above screenshot it seems likely that one of those extensions did not activate successfully.

To find out which one you can run the following command from the command pallet: 'Developer: Show Running Extensions'

Screenshot 2024-10-02 at 9 16 27 AM

This will show the list of extensions running in VSCode. Typically any extension that failed to activate will be found at the bottom of the list with an error or warning indicator.

Screenshot 2024-10-02 at 9 16 59 AM

After you've identified which extension failed to activate please check the output panel and look for any reported errors. Note: You will have to Select Apex, Salesforce Cli, or Agentforce for Developers in the dropdown on the Output view.

Please report whatever errors you find there and we can see what needs to happen to get you up and running.

Screenshot 2024-10-02 at 9 18 40 AM
munawirrahman commented 1 month ago

Hi @gbockus-sf ,

Attached are the screenshots for Apex and Salesforce CLI. I'm not able to see Agentforce for Developers on the dropdown of Output view.

[

Screenshot 2024-10-03 at 16 49 24 Screenshot 2024-10-03 at 16 48 53

](url)

Screenshot 2024-10-03 at 16 50 44
munawirrahman commented 1 month ago

Apparently I fixed it by uninstalling and reinstalling Java. I hope there's a clear error message on why this happened

gbockus-sf commented 1 month ago

Hi @munawirrahman Glad you got it figured out. If it happens again you can see the details of what is going on with the Apex LSP by selecting 'Apex Language Server' in the output dropdown and it should contain whatever error was encountered.

Screenshot 2024-10-03 at 9 38 44 AM

Closing as resolved but feel free to reopen if you have any follow on questions or issues.