-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The \"readableStream\" argument must be an instance of ReadableStream. Received an instance of PassThrough #3163
Comments
We are working on a new version of Jan x Cortex. So it's recommended to try it via nightly build https://github.com/janhq/jan?tab=readme-ov-file#download. Feel free to get back to us if the issue remains. |
This didn't help |
Jan 0.5.3 is released to stable version of Jan app: https://github.com/janhq/jan/releases/tag/v0.5.3, feel free to get back to us if any concern |
Hello, I ran in the same issue using jan v0.5.4 and response |
The issue stems from an error response. There was a fix on the latest nightly build that outputs the error in JSON format instead of a weird error response. |
Current behavior
Starting from version 0.5.1 when using the Local API Server on request: http://127.0.0.1:1337/v1/chat/completions an error is displayed in the response:
Minimum reproduction step
Expected behavior
Screenshots / Logs
2024-07-14T14:16:50.746Z [SERVER]::{"reqId":"req-1","res":{},"req":{"method":"POST","url":"/v1/chat/completions","hostname":"127.0.0.1:1337"},"msg":"incoming request"}
2024-07-14T14:16:50.765Z [SERVER]::{"reqId":"req-1","res":{"statusCode":409},"req":{},"msg":"The "readableStream" argument must be an instance of ReadableStream. Received an instance of PassThrough"}
2024-07-14T14:16:50.766Z [SERVER]::{"reqId":"req-1","res":{"statusCode":409},"req":{},"msg":"request completed","responseTime":19.25919997692108}
Jan version
0.5.1
In which operating systems have you tested?
Environment details
No response
The text was updated successfully, but these errors were encountered: