GithubHelp home page GithubHelp logo

适配 gemini-1.5-flash about one-api HOT 5 CLOSED

IAn2018cs avatar IAn2018cs commented on September 24, 2024
适配 gemini-1.5-flash

from one-api.

Comments (5)

tisfeng avatar tisfeng commented on September 24, 2024 3

好像不能直接映射模型,gemini-1.5-flash-latest 这种目前只能用于 v1beta,目前 one-api 默认使用的是 v1 版本,如果要用,需要将环境变量 GEMINI_VERSION 改为 v1beta。

from one-api.

QAbot-zh avatar QAbot-zh commented on September 24, 2024 1

补充,v1beta 路径可以直接调用 gemini-1.5-flash-latest,适配的时候可以注意一下差别

from one-api.

temberature avatar temberature commented on September 24, 2024

image

from one-api.

mxdlzg avatar mxdlzg commented on September 24, 2024

好像不能直接映射模型,gemini-1.5-flash-latest 这种目前只能用于 v1beta,目前 one-api 默认使用的是 v1 版本,如果要用,需要将环境变量 GEMINI_VERSION 改为 v1beta。

berry主题可以设置渠道版本

from one-api.

tisfeng avatar tisfeng commented on September 24, 2024

这个不错,感觉可以将一些可能需要修改的环境变量拿出来,允许通过 UI 的方式动态修改。

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.