我在 Discourse AI 中启用“启用嵌入模块”功能时遇到问题。启用后,Discourse 会报错,日志显示如下:
Message (multiple occurrences)
Google Gemini Embeddings failed with status: 400 body: {
"error": {
"code": 400,
"message": "API key expired. Please renew the API key.", // 此错误在续订 API 密钥后仍然存在
"status": "INVALID_ARGUMENT",
... (rest of the error message)
}
}
我已经更新了我的 Gemini API 密钥,但问题仍然存在。奇怪的是,其他 Discourse AI 功能,例如“启用主题摘要模块”和“启用 AI 助手”,都可以正常工作。
我正在运行最新版本的 Discourse 和 Discourse AI 插件。
是否有人遇到过此问题?我是否遗漏了某个配置步骤?
