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'm using Visual Studio Code 1.80.2 with ChatGPT v4.1.0.
I entered my OpenAI API key and when I select small block of code, ex.:
for (int i = 0; i < (int)str.length() ; i++)
{
if ((str[i] < '0') || (str[i] > '9')) return false;
}
and select
"ChatGPT: Ask to explain code" from Palette
I get new empty window and error at Extension Host Log:
2023-08-10 12:19:02.272 [error] TypeError: Cannot read properties of undefined (reading '0')
at IncomingMessage. (/Users/user/.vscode/extensions/kiranshah.chatgpt-helper-4.1.0/dist/extension.js:1:986)
at IncomingMessage.emit (node:events:513:28)
at IncomingMessage.emit (node:domain:489:12)
at Readable.read (node:internal/streams/readable:527:10)
at flow (node:internal/streams/readable:1011:34)
at resume_ (node:internal/streams/readable:992:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
The text was updated successfully, but these errors were encountered:
Hi,
I'm using Visual Studio Code 1.80.2 with ChatGPT v4.1.0.
I entered my OpenAI API key and when I select small block of code, ex.:
for (int i = 0; i < (int)str.length() ; i++)
{
if ((str[i] < '0') || (str[i] > '9')) return false;
}
and select
"ChatGPT: Ask to explain code" from Palette
I get new empty window and error at Extension Host Log:
2023-08-10 12:19:02.272 [error] TypeError: Cannot read properties of undefined (reading '0')
at IncomingMessage. (/Users/user/.vscode/extensions/kiranshah.chatgpt-helper-4.1.0/dist/extension.js:1:986)
at IncomingMessage.emit (node:events:513:28)
at IncomingMessage.emit (node:domain:489:12)
at Readable.read (node:internal/streams/readable:527:10)
at flow (node:internal/streams/readable:1011:34)
at resume_ (node:internal/streams/readable:992:3)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
The text was updated successfully, but these errors were encountered: