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

[Question] chatluna.restart重启后大概率会导致适配器丢失 #364

Open
xupeng19881010 opened this issue Jan 24, 2025 · 2 comments

Comments

@xupeng19881010
Copy link

Image

chatluna ====================ChatLunaError:303====================
2025-01-24 19:01:34 [E] chatluna Error: error when listing openai models, Result: undefined
at OpenAIRequester.getModels (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:339:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async OpenAIClient.refreshModels (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:411:25)
at async OpenAIClient.getModels (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:432:20)
at async OpenAIClient.init (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:407:5)
at async OpenAIClient.isAvailable (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/client.cjs:41:9)
at async PlatformService.refreshClient (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/service.cjs:225:21)
at async PlatformService.createClient (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/service.cjs:266:5)
at async PlatformService.createClients (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/service.cjs:277:22)
at async ChatLunaPlugin.initClients (/koishi/node_modules/koishi-plugin-chatluna/lib/services/chat.cjs:1433:7)
2025-01-24 19:01:34 [E] chatluna ChatLunaError: 使用 ChatLuna 时出现错误,错误码为 303。请联系开发者以解决此问题。
at OpenAIClient.refreshModels (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:425:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async OpenAIClient.getModels (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:432:20)
at async OpenAIClient.init (/koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:407:5)
at async OpenAIClient.isAvailable (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/client.cjs:41:9)
at async PlatformService.refreshClient (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/service.cjs:225:21)
at async PlatformService.createClient (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/service.cjs:266:5)
at async PlatformService.createClients (/koishi/node_modules/koishi-plugin-chatluna/lib/llm-core/platform/service.cjs:277:22)
at async ChatLunaPlugin.initClients (/koishi/node_modules/koishi-plugin-chatluna/lib/services/chat.cjs:1433:7)
at async /koishi/node_modules/koishi-plugin-chatluna-openai-adapter/lib/index.cjs:489:5

@dingyi222666
Copy link
Member

请确认重启 koishi 后是否还有此错误。如果有,则是你使用的 API 问题。

@dingyi222666 dingyi222666 changed the title chatluna.restart重启后大概率会导致适配器丢失 [Question] chatluna.restart重启后大概率会导致适配器丢失 Jan 29, 2025
@dingyi222666
Copy link
Member

你好,我经过测试之后发现并没有出现这类问题,请具体详细的描述一下触发方式

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

2 participants