Code Monkey home page Code Monkey logo

Comments (10)

songquanpeng avatar songquanpeng commented on June 12, 2024 4

最近处理

from one-api.

BrownTen avatar BrownTen commented on June 12, 2024 4

新版本已经支持了

你是怎么部署的 我重新部署了 还是这个问题?

  1. 在你部署的机子上设置环境变量 GEMINI_VERSION='v1beta' (建议设置为永久变量,如果不会设置可以咨询gpt3)
  2. 重新部署你的one-api项目
  3. 设置google渠道模型 gemini-1.5-pro
  4. 设置模型重定向

{ "gemini-1.5-pro": "gemini-1.5-pro-latest" }

from one-api.

Caixiaopig avatar Caixiaopig commented on June 12, 2024

我也遇到同样的错误,使用的是 v0.6.4-alpha.1 版本

from one-api.

shikaiwei1 avatar shikaiwei1 commented on June 12, 2024

这是因为gemini1.5的模型,只在谷歌/v1beta预览版目录下,而这里接入的是gemini的正式版,也就是/v1的路径

from one-api.

kdkkkd avatar kdkkkd commented on June 12, 2024

如何解决这个问题啊?

from one-api.

Caixiaopig avatar Caixiaopig commented on June 12, 2024

新版本已经支持了

from one-api.

kdkkkd avatar kdkkkd commented on June 12, 2024

新版本已经支持了

你是怎么部署的 我重新部署了 还是这个问题?

from one-api.

shikaiwei1 avatar shikaiwei1 commented on June 12, 2024

from one-api.

bdugsj avatar bdugsj commented on June 12, 2024

这样设置:

  1. 在你部署的机子上设置环境变量 GEMINI_VERSION=v1beta
  2. 重新部署你的one-api项目
  3. 设置google渠道模型 gemini-1.5-pro-latest
  4. 设置模型重定向

{ "gemini-1.5-pro": "gemini-1.5-pro-latest" }

from one-api.

RexWzh avatar RexWzh commented on June 12, 2024

新版本已经支持了

你是怎么部署的 我重新部署了 还是这个问题?

  1. 在你部署的机子上设置环境变量 GEMINI_VERSION='v1beta' (建议设置为永久变量,如果不会设置可以咨询gpt3)
  2. 重新部署你的one-api项目
  3. 设置google渠道模型 gemini-1.5-pro
  4. 设置模型重定向

{ "gemini-1.5-pro": "gemini-1.5-pro-latest" }

按这个设置了没有效果。

回退版本可以:

v0.6.6-alpha

from one-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.