chat-ollama icon indicating copy to clipboard operation
chat-ollama copied to clipboard

当 Sqlite 没有 instructions 或 knowledge 数据时,相关页面错误

Open sylaryip opened this issue 11 months ago • 2 comments

sylaryip avatar Mar 10 '24 17:03 sylaryip

应该当部署 build 后,sqlite 后端没有正确读取到 sqlite 文件,相关数据返回 null。

sylaryip avatar Mar 10 '24 17:03 sylaryip

@sylaryip 能否分享一下如何复现这个问题?多谢。我在Chrome incognito中对instructions部分的功能做了测试,并没有发现有错误。

sugarforever avatar Mar 10 '24 20:03 sugarforever

@sylaryip 能否分享一下如何复现这个问题?多谢。我在Chrome incognito中对instructions部分的功能做了测试,并没有发现有错误。

目前找到真正原因,部署没有正确读取到.env,导致找不到 sqlite,prisma 返回相关数据返回 null ,导致在前端报错。可 close pr

sylaryip avatar Mar 11 '24 03:03 sylaryip