lianginx / chatgpt-nuxt Goto Github PK
View Code? Open in Web Editor NEW基于 Nuxt.js 框架的 ChatGPT 类项目,支持 OpenAI 和 Azure 两种 API 切换,支持黑暗模式、中英日多语言切换。
Home Page: https://ai.in-x.cc/
License: MIT License
基于 Nuxt.js 框架的 ChatGPT 类项目,支持 OpenAI 和 Azure 两种 API 切换,支持黑暗模式、中英日多语言切换。
Home Page: https://ai.in-x.cc/
License: MIT License
ERROR Unable to obtain an available random port number! 22:24:24
at getRandomPort (node_modules/nuxi/dist/chunks/index.mjs:165:11)
at async findPort (node_modules/nuxi/dist/chunks/index.mjs:236:24)
at async getPort (node_modules/nuxi/dist/chunks/index.mjs:148:21)
at async listen (node_modules/nuxi/dist/chunks/index.mjs:704:16)
at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6773:22)
at async _main (node_modules/nuxi/dist/cli.mjs:49:20)
大佬可以考虑把图像生成和语音转文字接入吗?就是openAI官方的这两个模型:DALL·E 和 Whisper
现在手机端不能切换聊天窗口。
如题
希望支持 gpt4.0
This is not a chat model and thus not supported in the v1/chat/completions endpoint. Did you mean to use v1/completions?
直接运行docker-compose up -d,容器无法启动,报错如下:
node[1]: ../src/node_platform.cc:68:std::unique_ptr node::WorkerThreadsTaskRunner::DelayedTaskScheduler::Start(): Assertion `(0) == (uv_thread_create(t.get(), start_thread, this))' failed.
1: 0xc925e0 node::Abort() [node]
2: 0xc9265e [node]
3: 0xd0e1a9 node::WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int) [node]
4: 0xd0e2cc node::NodePlatform::NodePlatform(int, v8::TracingController*, v8::PageAllocator*) [node]
5: 0xc4fc04 node::V8Platform::Initialize(int) [node]
6: 0xc4d448 [node]
7: 0xc4d81b node::Start(int, char**) [node]
8: 0x7fee2304918a [/lib/x86_64-linux-gnu/libc.so.6]
9: 0x7fee23049245 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
10: 0xbabf4e _start [node]
有没有构建好的镜像可以直接用呢
error https://registry.npmmirror.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz: incorrect data check
error https://registry.npmmirror.com/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz: incorrect data check
error https://registry.npmmirror.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz: incorrect data check
error https://registry.npmmirror.com/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz: incorrect data check
error https://registry.npmmirror.com/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz: incorrect data check
error https://registry.npmmirror.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz: incorrect data check
(node:7156) UnhandledPromiseRejectionWarning: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:781:11)
I found an issue, after running yarn build
, node .output/server/index.mjs
will throw an error.
Originally posted by @lianginx in #13 (comment)
我:the map struct in javascript
chatgpt:In JavaScript, a "map" is a built-in data structure that allows you to store key-value pairs, where the keys can be of any type (including objects) and the values can be of any type (including other maps, arrays, or functions).
Here is an example
Unexpected end of JSON input
出现得挺频繁的,大佬有时间可以看一下吗
报错信息:
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | node:internal/modules/cjs/loader:1075
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | throw err;
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | ^
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 |
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | Error: Cannot find module '/app/server/index.mjs'
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | at Module._resolveFilename (node:internal/modules/cjs/loader:1072:15)
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | at Module._load (node:internal/modules/cjs/loader:925:27)
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | at node:internal/main/run_main_module:23:47 {
2023-06-29 18:17:59 chatgpt-nuxt-master-1-chatgpt-nux-1 | code: 'MODULE_NOT_FOUND',
找不到index.mjs
yaml文件里的:
volumes:
- .output/:/app # 把当前宿主机的目录映射到容器内 (Map the directory of the current host to the container)
请问这个.output是什么目录,文件夹为空为何要挂载?
Hello, How do I configure a proxy?
有没有联系方式
ERROR Cannot start nuxt: Cannot find module 'pinia/dist/pinia.mjs'
Require stack:
D:\dev\nuxtchat\index.js
Require stack:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.