Closed SerialIterator closed 8 months ago
And what happens if you do direct curl command to the API example:
curl http://localhost:11434/api/chat -d '{
"model": "deepseek-coder:33b-instruct",
"messages": [
{ "role": "user", "content": "hello there" }
]
}'
Please make sure to update to the latest Ollama and latest Twinny version if not already. And also please open developer tools in vs code and share the debug information displayed when making requests. You need to enable the setting if it's not already enabled for debug at the bottom of the settings for twinny extension. Thanks.
I pulled up dev tools and this is the console output when I send "hello":
***Twinny Stream Debug***
Streaming response from localhost:11434.
Request body:
{
"model": "deepseek-coder:33b-instruct",
"prompt": "<<SYS>>You are a helpful, respectful and honest coding assistant.\nAlways reply with using markdown.\nFor code refactoring, use markdown with code formatting.<</SYS>>\n \nhello\n ",
"stream": true,
"messages": [
{
"role": "system",
"content": "<<SYS>>You are a helpful, respectful and honest coding assistant.\nAlways reply with using markdown.\nFor code refactoring, use markdown with code formatting.<</SYS>>\n "
},
{
"role": "user",
"content": "hello",
"type": "chat"
}
],
"keep_alive": "5m",
"options": {
"temperature": 0.2,
"num_predict": 4096
}
}
Request options:
{
"hostname": "localhost",
"port": 11434,
"path": "/api/chat/",
"protocol": "http",
"method": "POST",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer "
}
}
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at node:internal/webstreams/transformstream:554:16
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at node:internal/webstreams/transformstream:554:16
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376
log.ts:437 ERR [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
console.ts:137 [Extension Host] Error parsing JSON: TypeError: Cannot read properties of undefined (reading '0')
at e.getChatDataFromProvider (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:129389)
at onStreamData (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:90816)
at Object.transform (c:\Users\jason\.vscode\extensions\rjmacarthy.twinny-3.7.7\out\index.js:2:122055)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.transform (node:internal/webstreams/encoding:156:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at transformStreamDefaultControllerEnqueue (node:internal/webstreams/transformstream:490:5)
at TransformStreamDefaultController.enqueue (node:internal/webstreams/transformstream:301:5)
at Object.identityTransformAlgorithm [as transform] (node:internal/deps/undici/undici:11066:22)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at transformStreamDefaultControllerPerformTransform (node:internal/webstreams/transformstream:509:18)
at transformStreamDefaultSinkWriteAlgorithm (node:internal/webstreams/transformstream:559:10)
at Object.write (node:internal/webstreams/transformstream:364:14)
at ensureIsPromise (node:internal/webstreams/util:192:19)
at writableStreamDefaultControllerProcessWrite (node:internal/webstreams/writablestream:1114:5)
at writableStreamDefaultControllerAdvanceQueueIfNeeded (node:internal/webstreams/writablestream:1229:5)
at writableStreamDefaultControllerWrite (node:internal/webstreams/writablestream:1103:3)
at writableStreamDefaultWriterWrite (node:internal/webstreams/writablestream:993:3)
at Object.[kChunk] (node:internal/webstreams/readablestream:1401:28)
at readableStreamFulfillReadRequest (node:internal/webstreams/readablestream:1992:24)
at readableStreamDefaultControllerEnqueue (node:internal/webstreams/readablestream:2183:5)
at ReadableStreamDefaultController.enqueue (node:internal/webstreams/readablestream:1039:5)
at Fetch.resume (node:internal/deps/undici/undici:11424:45)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
p @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
y @ event.ts:1127
fire @ event.ts:1158
fire @ ipc.net.ts:650
V.onmessage @ localProcessExtensionHost.ts:376```
Please can you make the following changes:
{
"hostname": "localhost",
"port": 11434,
"path": "/v1/chat/completions", // new chat api endpoint for ollama
"protocol": "http",
"method": "POST",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer "
}
}
Also please edit your prompt templates and remove the <<SYS>>
from the system template, this is now handled by Ollama OpenAI compatible chat endpoint.
https://ollama.com/blog/openai-compatibility https://github.com/rjmacarthy/twinny/releases/tag/v3.7.0
I've changed what I could in Twinny settings but where do I edit the template at? There is no options for protocol, method or headers
in the twinny settings...
It's working now. I guess this can be closed although I'm sure I've tested this configuration of settings (default) already. Thank you
Thanks, I thought it would cause an issue for some people which is why I made a minor release to 3.7
. You can edit the templates here, add, remove or edit existing ones to improve the response from the model as you see fit. The protocol is managed by the useTls
setting which if enabled changes to https
. The method is always POST
and the headers are always just the Bearer
token if there is one.
Opens a new vscode with the editable templates
Templates you add/remove/edit can be set as default here:
Describe the bug It was working fine then the chat window shows the spinning wheel forever. I see
[GIN] 2024/02/29 - 17:45:18 | 404 | 122.317µs | 127.0.0.1 | POST "/api/chat"
(404) in the ollama terminal output. I can click the twinny bot head to select a model and ollama terminal shows[GIN] 2024/02/29 - 17:49:10 | 200 | 383.735µs | 127.0.0.1 | GET "/api/tags"
(200) so I know it's connecting to the server and receiving a reply. It also displays the models I have available for Chat and Fill-in-middle fields. No model output though.To Reproduce Steps to reproduce the behavior:
Expected behavior Expected response from model
Screenshots
Desktop (please complete the following information):
Additional context Using deepseek-coder:33b-instruct model which was working fine but now is not.