You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I select a function, and perform the "Edit code" option and type "Make this code better".
It just puts NULL where the code was.
If I use the chat instead it works, using the same model, so I know it's picking up my API key correctly.
I believe my settings are correct:
All the OpenAI > GPT-* models do the same thing, insert NULL where the code was. The o1-preview model raises an error, which I think was reported elsewhere.
If I change the model to GPT-4o-mini - FREE it works (although it puts the changed code BEHIND the popup, so now I need to grab the mouse to move it to see if I want to accept it or not).
Relevant log output or stack trace
2024-10-16 10:32:04,311 [ 839614] INFO - STDERR - [OkHttp https://api.openai.com/...] INFO ee.carlrobert.llm.completion.CompletionEventSourceListener - Request opened.
2024-10-16 10:32:04,312 [ 839615] INFO - STDERR - [OkHttp https://api.openai.com/...] INFO ee.carlrobert.llm.completion.CompletionEventSourceListener - Request closed.
2024-10-16 10:32:07,876 [ 843179] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.SdkEntity to files
2024-10-16 10:32:07,877 [ 843180] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files
Steps to reproduce
Not sure, I just just installed the extension, tried it, and it gave this error.
I tried it in another project and got the same error.
Note that the Request closed is firing about 1 ms after the Request opened, is that a clue?
CodeGPT version
2.11.6-241.1
Operating System
Windows
The text was updated successfully, but these errors were encountered:
What happened?
I select a function, and perform the "Edit code" option and type "Make this code better".
It just puts
NULL
where the code was.If I use the chat instead it works, using the same model, so I know it's picking up my API key correctly.

I believe my settings are correct:

All the OpenAI > GPT-* models do the same thing, insert
NULL
where the code was. Theo1-preview
model raises an error, which I think was reported elsewhere.If I change the model to GPT-4o-mini - FREE it works (although it puts the changed code BEHIND the popup, so now I need to grab the mouse to move it to see if I want to accept it or not).

Relevant log output or stack trace
Steps to reproduce
Not sure, I just just installed the extension, tried it, and it gave this error.
I tried it in another project and got the same error.
Note that the
Request closed
is firing about 1 ms after theRequest opened
, is that a clue?CodeGPT version
2.11.6-241.1
Operating System
Windows
The text was updated successfully, but these errors were encountered: