chat-ollama
chat-ollama copied to clipboard
除了chat页面其他页面都无法使用见报错
指令页:
Invalid prisma.instruction.findMany()
invocation in
/opt/localLLM/chatdemo/chat-ollama/server/api/instruction/index.get.ts:6:1
知识库页:
Error fetching knowledge bases: PrismaClientInitializationError:
Invalid prisma.knowledgeBase.findMany()
invocation in
/opt/localLLM/chatdemo/chat-ollama/server/api/knowledgebases/index.get.ts:6:1
3 const listKnowledgeBases = async (): Promise<KnowledgeBase[] | null> => { 4 const prisma = new PrismaClient(); 5 try { → 6 return await prisma.knowledgeBase.findMany( Prisma Client could not locate the Query Engine for runtime "rhel-openssl-1.0.x".
此外,使用mixtral对话时,内容一直在重复输出,无法停止,不得不把后台全部停了。
有执行prisma migrate dev的命令初始化数据库吗?
我查看了历史命令,没有执行这个命令。 最早我是node版本不符合要求我已经升级到了v18版本,chat可以使用了,其他功能异常,我执行看看(README文档没看到写这个命令)。