Code Monkey home page Code Monkey logo

Comments (8)

Issues-translate-bot avatar Issues-translate-bot commented on June 8, 2024

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request]: Hope to add Gemini support for relay/proxy

Problem Description

The gemini pro model only supports official api address calls. Addresses using third-party transfer services currently cannot use gemini. We hope to add api support that can choose transfer.

Solution Description

Added gemini support for transit

Alternatives Considered

No response

Additional Context

No response

from chatgpt-next-web.

haso2007 avatar haso2007 commented on June 8, 2024

以前是支持的,现在版本完全不能支持Gemini的API,是阉割掉了吗?

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 8, 2024

Bot detected the issue body's language is not English, translate it automatically.


It used to be supported, but the current version cannot support Gemini's API at all. Has it been castrated?

from chatgpt-next-web.

manjieqi avatar manjieqi commented on June 8, 2024

原来是这样,nextchat支持gemini的api直接访问,第三方的是使用openai的请求方式。这还是直接使用openai的请求吧,不然谁单独给gemini设代理啊,代理了它,其他的模型又用不了了。

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 8, 2024

Bot detected the issue body's language is not English, translate it automatically.


It turns out that nextchat supports direct access to gemini's api, and third-party users use openai's request method. This is better to use openai's request directly, otherwise who will set up a separate proxy for gemini, and proxy it, and other models will not be able to use it.

from chatgpt-next-web.

fred-bf avatar fred-bf commented on June 8, 2024

You can customize gemini api host via environment variables. If your api provider only supports OpenAI format api, you will need to configure the OpenAI api via environment variables or settings.

from chatgpt-next-web.

zbzzh avatar zbzzh commented on June 8, 2024

我使用的中转API是oneapi,可是我的api提供商里gemini的模型名就是gemini-pro,没办法更改也就是重定向,这样导致我在nextweb中填写gemini-pro的时候它走谷歌的api地址,没办法走我的中转api地址

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 8, 2024

Bot detected the issue body's language is not English, translate it automatically.


The transfer API I use is oneapi, but the model name of gemini in my api provider is gemini-pro. There is no way to change it, that is, redirection. This causes it to use Google's api address when I fill in gemini-pro in nextweb. , there is no way to get my transit api address

from chatgpt-next-web.

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.