Discourse AI Gemini Embeddings 无法启用,但其他功能正常

我在 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 插件。

是否有人遇到过此问题?我是否遗漏了某个配置步骤?

3 个赞

我们不小心隐藏了 Gemini API 密钥站点设置,我已经将其重新显示。请更新到最新版本并在设置中填写新的 API。

5 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.