This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
bug: Integration with VScode Continue extension does not work #270
Labels
type: bug
Something isn't working
Describe the bug
After starting Jan.ai local server and setting Continue configuration as described in the docs, I'm getting an error:
2024-06-24T12:26:35.695Z [SERVER]::{"reqId":"req-4","res":{},"req":{"method":"POST","url":"/v1/chat/completions","hostname":"127.0.0.1:1337"},"msg":"incoming request"}
2024-06-24T12:26:35.711Z [SERVER]::{"reqId":"req-4","res":{"statusCode":404},"req":{},"msg":"The "readableStream" argument must be an instance of ReadableStream. Received an instance of PassThrough"}
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Nonperror response from Jan
Screenshots
If applicable, add screenshots to help explain your issue.
Environment details
Logs
2024-06-24T12:26:35.695Z [SERVER]::{"reqId":"req-4","res":{},"req":{"method":"POST","url":"/v1/chat/completions","hostname":"127.0.0.1:1337"},"msg":"incoming request"}
2024-06-24T12:26:35.711Z [SERVER]::{"reqId":"req-4","res":{"statusCode":404},"req":{},"msg":"The "readableStream" argument must be an instance of ReadableStream. Received an instance of PassThrough"}
Additional context
Add any other context or information that could be helpful in diagnosing the problem.
console.ts:137 [Extension Host] Error handling webview message: {
"msg": {
"messageId": "ca506646-bff6-4395-9054-3ffa76b13d25",
"messageType": "llm/streamChat",
"data": {
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Who are you?"
}
]
}
],
"title": "Jan",
"completionOptions": {}
}
}
}
Error: HTTP 404 Not Found from http://127.0.0.1:1337/v1/chat/completions
{"statusCode":404,"code":"ERR_INVALID_ARG_TYPE","error":"Not Found","message":"The "readableStream" argument must be an instance of ReadableStream. Received an instance of PassThrough"}
The text was updated successfully, but these errors were encountered: