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 have a single .py selected and when I attempt to ask a question about the code. I get the error below. I have not selected an image when asking the question. Using my own API key and using gpt-4o.
I have uninstalled and reinstalled to trying and fix the issue below. The runtime exception remains the same before and after the reinstall.
Relevant log output or stack trace
java.lang.RuntimeException: java.nio.file.NoSuchFileException: /Users/crees/Desktop/Screenshot 2025-02-16 at 11.12.40 PM.png
at ee.carlrobert.codegpt.completions.factory.OpenAIRequestFactory$Companion.buildOpenAIChatMessages(OpenAIRequestFactory.kt:218)
at ee.carlrobert.codegpt.completions.factory.OpenAIRequestFactory$Companion.buildOpenAIMessages(OpenAIRequestFactory.kt:115)
at ee.carlrobert.codegpt.completions.factory.OpenAIRequestFactory$Companion.buildOpenAIMessages$default(OpenAIRequestFactory.kt:110)
at ee.carlrobert.codegpt.completions.factory.OpenAIRequestFactory.createChatRequest(OpenAIRequestFactory.kt:26)
at ee.carlrobert.codegpt.completions.factory.OpenAIRequestFactory.createChatRequest(OpenAIRequestFactory.kt:20)
at ee.carlrobert.codegpt.completions.ToolwindowChatCompletionRequestHandler.startCall(ToolwindowChatCompletionRequestHandler.java:46)
at ee.carlrobert.codegpt.completions.ToolwindowChatCompletionRequestHandler.call(ToolwindowChatCompletionRequestHandler.java:25)
at ee.carlrobert.codegpt.toolwindow.chat.ChatToolWindowTabPanel.lambda$call$10(ChatToolWindowTabPanel.java:307)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:167)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
at com.intellij.util.concurrency.ContextCallable.lambda$call$1(ContextCallable.java:85)
at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:94)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:103)
at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:103)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:109)
at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:103)
at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.nio.file.NoSuchFileException: /Users/crees/Desktop/Screenshot 2025-02-16 at 11.12.40 PM.png
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:261)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at java.base/java.nio.file.Files.readAllBytes(Files.java:3281)
at ee.carlrobert.codegpt.completions.factory.OpenAIRequestFactory$Companion.buildOpenAIChatMessages(OpenAIRequestFactory.kt:201)
... 24 more
Steps to reproduce
No response
CodeGPT version
2.16.3-241.1
Operating System
macOS
The text was updated successfully, but these errors were encountered:
What happened?
I have a single .py selected and when I attempt to ask a question about the code. I get the error below. I have not selected an image when asking the question. Using my own API key and using gpt-4o.
I have uninstalled and reinstalled to trying and fix the issue below. The runtime exception remains the same before and after the reinstall.
Relevant log output or stack trace
Steps to reproduce
No response
CodeGPT version
2.16.3-241.1
Operating System
macOS
The text was updated successfully, but these errors were encountered: