MarkMpn / Sql4Cds

SQL 4 CDS core engine and XrmToolbox tool
MIT License
74 stars 22 forks source link

Copilot panel cannot load #538

Open jarvan-jiang opened 2 months ago

jarvan-jiang commented 2 months ago

tried both v9.3 and v9.2, none of them works. XrmToolbox version is v1.2023.12.68. After successful setup copilot settings, the panel still cannot load like this: image

Copilot setting: image

MarkMpn commented 2 months ago

Can I confirm you don't see the "Enter your question here" box at the bottom (your screenshot only shows the top of the panel which I'd expect to be blank), and you don't get any visible error messages? Can you also check if you get any relevant messages in the log file at %appdata%\MscrmTools\XrmToolBox\Logs\MarkMpn.Sql4Cds.XTB.log?

jarvan-jiang commented 2 months ago

Can I confirm you don't see the "Enter your question here" box at the bottom (your screenshot only shows the top of the panel which I'd expect to be blank), and you don't get any visible error messages? Can you also check if you get any relevant messages in the log file at %appdata%\MscrmTools\XrmToolBox\Logs\MarkMpn.Sql4Cds.XTB.log?

Yeah, the bottom is blank too, and there is no error messages, initially the panel is not visible, after I set up copilot setting it auto pop out, and keep blank with no other messages.

And there is no log in that file.

MarkMpn commented 2 months ago

The Copilot panel uses the WebView2 control - if you're running on a device where this isn't already installed as part of Windows you may need to install it yourself from https://developer.microsoft.com/en-gb/microsoft-edge/webview2?form=MA13LH#download-section