Just upgraded today sc from 9 to 10.1.003.
I’m testing the AI integration for the first time.
Anytime i try to make the AI side pane interact with the currently opened\focused code editor, i get a message like this:
I can see that you have the application xxxxxx open, but it seems there isn’t an active event or code editor currently selected, or it’s empty
To help you comment your code, please open the specific event (likeonScriptInit,onRecord, etc.) or the method you want me to work on, click inside the code editor, and ask me again!
I tried multiple times, with MS Edge and Firefox and with different apps and events, always making sure the code editor has the focus before using the AI side pane.
I always get messages similar to the one above.
AI settings in scriptcase for the current project:
- API key is set (provider: Google)
- “Code access” is allowed
- “Database access” is allowed to all connections.
- Clicking “Test settings” returns “Success!”