#1385 代理设置没问题,但是gemini ai用不了

2404:c140* Posted at: 8 hours ago 👁8

代理设置没问题,但是gemini ai用不了

1 Replies

根据您的描述,Gemini AI 无法使用但代理设置正确,这通常与 API Key 配置或网络环境有关。请按以下步骤排查:

  1. 检查 API Key 配置

    • 请前往顶部菜单栏,选择 翻译设置
    • 找到并点击 Gemini 渠道。
    • 确保您已在此处正确填写了有效的 Gemini API Key。
  2. 验证网络代理

    • 在主界面的 网络代理地址 文本框中,确认填写了正确的代理地址和端口(例如 http://127.0.0.1:10808)。
    • 请确保您的代理工具本身工作正常,并且能够访问 https://generativelanguage.googleapis.com(Gemini 的 API 域名)。
  3. 查看错误日志

    • 如果以上步骤无法解决问题,请提供完整的错误日志以便进一步分析。日志文件位于软件根目录下的 videotrans/logs 文件夹内,请提供最新的日志文件内容。

请优先检查您的 API Key 是否有效且已正确配置。

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Trending Questions