chatgpt-plugin icon indicating copy to clipboard operation
chatgpt-plugin copied to clipboard

[bug] 中文分词扩展(simple)错误

Open xingyu42 opened this issue 1 month ago • 1 comments

文件路径拼接多出so.so


[Memory] loading simple tokenizer extension from /app/Miao-Yunzai/plugins/chatgpt-plugin/resources/simple/linux-x64/libsimple-linux-ubuntu-latest/libsimple.so

[MiaoYz][00:30:31.452][ERRO] Failed to load simple extension: SqliteError: /app/Miao-Yunzai/plugins/chatgpt-plugin/resources/simple/linux-x64/libsimple-linux-ubuntu-latest/libsimple.so.so: cannot open shared object file: No such file or directory

at Database.loadExtension (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/better-sqlite3/lib/methods/wrappers.js:19:14)

at applySimpleExtension (file:///app/Miao-Yunzai/plugins/chatgpt-plugin/models/memory/database.js:229:8)

at getMemoryDatabase (file:///app/Miao-Yunzai/plugins/chatgpt-plugin/models/memory/database.js:720:3)

at resetVectorTableDimension (file:///app/Miao-Yunzai/plugins/chatgpt-plugin/models/memory/database.js:664:14)

at updateMemoryConfig (file:///app/Miao-Yunzai/plugins/chatgpt-plugin/models/memory/router.js:467:9)

at file:///app/Miao-Yunzai/plugins/chatgpt-plugin/models/memory/router.js:497:23

at Layer.handleRequest (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/lib/layer.js:152:17)

at next (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/lib/route.js:157:13)

at Route.dispatch (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/lib/route.js:117:3)

at handle (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/index.js:435:11)

at Layer.handleRequest (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/lib/layer.js:152:17)

at /app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/index.js:295:15

at processParams (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/index.js:582:12)

at next (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/index.js:291:5)

at Function.handle (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/index.js:186:3)

at router (/app/Miao-Yunzai/node_modules/.pnpm/[email protected]/node_modules/router/index.js:60:12) {

code: 'SQLITE_ERROR'

}

xingyu42 avatar Nov 10 '25 16:11 xingyu42

我记得这个修了哇。明天我看看

ikechan8370 avatar Nov 10 '25 16:11 ikechan8370