Skip to content
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

Error object ReadableStream with Ollama backend #498

Open
AndyX-Net opened this issue Jun 9, 2024 · 0 comments
Open

Error object ReadableStream with Ollama backend #498

AndyX-Net opened this issue Jun 9, 2024 · 0 comments

Comments

@AndyX-Net
Copy link

Issue:
Encounter error messages during conversations -> Error [object ReadableStream]
image

Environment:
OS: Win11- 10.0.22621.3155
Node.js: v20.12.0
Ollama: 0.1.41
vite: v5.2.12
RisuAI: 1.113.0 - 1.113.3

Deployment method:
Git Clone + Local Node.JS(Run server.bat)

Config - Screenshot:
image

Console log:
up to date, audited 851 packages in 3s
115 packages are looking for funding
run npm fund for details
3 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run npm audit for details.

[email protected] build
vite build
vite v5.2.12 building for production...
transforming (3) src\main.tstsconfig options "importsNotUsedAsValues" and "preserveValueImports" are deprecated. Either set "ignoreDeprecations" to "5.0" in your tsconfig.json to silence this warning, or replace them in favor of the new "verbatimModuleSyntax" flag.
[plugin:vite:resolve] [plugin vite:resolve] Module "module" has been externalized for browser compatibility, imported by "I:/RisuAI/node_modules/@mlc-ai/web-tokenizers/lib/index.js". See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
[plugin:vite:resolve] [plugin vite:resolve] Module "crypto" has been externalized for browser compatibility, imported by "I:/RisuAI/node_modules/libsodium-sumo/dist/modules-sumo/libsodium-sumo.js". See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
node_modules/onnxruntime-web/dist/ort-web.min.js (6:62546): Use of eval in "node_modules/onnxruntime-web/dist/ort-web.min.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 3790 modules transformed.
dist/index.html 1.04 kB │ gzip: 0.52 kB
dist/assets/embedworker-DXFDTe1E.js 2.35 kB
dist/assets/send-53ehFpQd.mp3 74.40 kB
dist/assets/test-D1f1jx-C.png 375.15 kB
dist/assets/bg-N7gzMn8F.jpg 528.20 kB
dist/assets/pdf.worker-CKg4Kbrr.js 1,295.57 kB
dist/assets/tiktoken_bg-BQaKxjUe.wasm 5,613.23 kB
dist/assets/index-BudnHUh_.css 65.87 kB │ gzip: 12.02 kB
dist/assets/pdf.worker-C5-zVPBO.js 0.06 kB │ gzip: 0.08 kB
dist/assets/StreamSaver-D2vPRxzp.js 4.55 kB │ gzip: 2.05 kB
dist/assets/web-Bwb02ely.js 8.63 kB │ gzip: 2.92 kB
dist/assets/tiktoken-97Yyqoh5.js 8.78 kB │ gzip: 2.54 kB
dist/assets/index-Bq890bcz.js 12.99 kB │ gzip: 5.14 kB
dist/assets/index-Do9keuOZ.js 41.56 kB │ gzip: 11.49 kB
dist/assets/jszip.min-CEjmW7ej.js 97.20 kB │ gzip: 30.14 kB
dist/assets/bundler-C7ua-9um.js 122.59 kB │ gzip: 34.30 kB
dist/assets/pdf-o1llGNoB.js 338.67 kB │ gzip: 99.48 kB
dist/assets/cl100k_base-BbTNOy-H.js 1,090.83 kB │ gzip: 502.21 kB
dist/assets/o200k_base-C0R0kLt9.js 2,325.54 kB │ gzip: 1,136.49 kB
dist/assets/index-D2Y1dhgU.js 3,889.58 kB │ gzip: 961.81 kB
dist/assets/index-RldLWkAW.js 4,409.39 kB │ gzip: 1,606.25 kB

(!) Some chunks are larger than 2000 kB after minification. Consider:

[email protected] runserver
node server/node/server.cjs

Server is listening on http://localhost:6001/
connected
connected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant