First time here? Check out the FAQ!
1

How do i debug problems in AI tool configuration?

followed the (minimal) direections for config

following the examples, when i enter ctrl-? i get a beep sound. i get no response from AI tool

jbpence's avatar
21
jbpence
asked 2024-02-15 07:59:36 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2024-02-20 15:21:59 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I'd first check if Ctrl-? is being eaten by the OS. You can test the feature without using that key binding by using Edit > Command by Name and entering command ai-suggest-next

You can also bring up the AI tool from the Tools menu, select Show Console in its Options menu, and then try the command either as above or with Ctrl-?. The console should show everything we send to OpenAI and the responses and any error messages.

Actually, trying AI Refactoring in the AI tool would be another way to check if the OpenAI connection is working.

Failing that, if something is also going wrong with logging to the console, then you can look at the IDE log, or send it to us with Help > Submit Bug Report. It's the file ide.log in the settings directory, which varies in location but is ~/.wingpro10 on macOS and Linux and something like c:\Users\${username}\AppData\Roaming\Wing Pro 10 on Windows.

I'm treating this as a feature request, since this should be mentioned in the docs.

Wingware Support's avatar
4k
Wingware Support
answered 2024-02-15 09:37:33 -0500, updated 2024-02-15 09:42:49 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer