Giter Site home page Giter Site logo

Comments (9)

H0llyW00dzZ avatar H0llyW00dzZ commented on May 19, 2024 1

Docs https://ai.google.dev/docs/api_versions

image

from chatgpt-next-web.

Rubuark avatar Rubuark commented on May 19, 2024 1

It's only refactoring support v1 and v1beta instead of only v1beta

I'm preparing for a test recently. After my test is over, if no one has solved it, I want to give it a try.

from chatgpt-next-web.

H0llyW00dzZ avatar H0llyW00dzZ commented on May 19, 2024 1

@Rubuark it's better to trying

from chatgpt-next-web.

Rubuark avatar Rubuark commented on May 19, 2024

However, the network request indicates that all calls are using the v1beta version, instead of the API version you provided.

For instance, in the image below, I used the v1beta and v1 versions to hold conversations, respectively. However, all web pages used the v1beta version to conduct conversations.
bug

from chatgpt-next-web.

H0llyW00dzZ avatar H0llyW00dzZ commented on May 19, 2024

However, the network request indicates that all calls are using the v1beta version, instead of the API version you provided.

For instance, in the image below, I used the v1beta and v1 versions to hold conversations, respectively. However, all web pages used the v1beta version to conduct conversations. bug

it's because of this

export const Google = {
  ExampleEndpoint: "https://generativelanguage.googleapis.com/",
  ChatPath: "v1beta/models/gemini-pro:generateContent",
  VisionChatPath: "v1beta/models/gemini-pro-vision:generateContent",

  // /api/openai/v1/chat/completions
};

Also This repository hasn't been fixed for a long time and is essentially unmaintained, as @fred-bf is the only one managing it.

from chatgpt-next-web.

H0llyW00dzZ avatar H0llyW00dzZ commented on May 19, 2024

Also,

Note

The Google Service Provider is still unstable unlike OpenAI. This instability is not due to Google itself. You can see more details here.

from chatgpt-next-web.

Rubuark avatar Rubuark commented on May 19, 2024

However, the network request indicates that all calls are using the v1beta version, instead of the API version you provided.

For instance, in the image below, I used the v1beta and v1 versions to hold conversations, respectively. However, all web pages used the v1beta version to conduct conversations. bug

it's because of this

export const Google = {

  ExampleEndpoint: "https://generativelanguage.googleapis.com/",

  ChatPath: "v1beta/models/gemini-pro:generateContent",

  VisionChatPath: "v1beta/models/gemini-pro-vision:generateContent",



  // /api/openai/v1/chat/completions

};

Also This repository hasn't been fixed for a long time and is essentially unmaintained, as @fred-bf is the only one managing it.

So in pull request #4192, I can only simply modify the code to solve the problem I encountered (or cover up the problem). After all, refactoring this part of the code is a bit too difficult for me now😢

from chatgpt-next-web.

H0llyW00dzZ avatar H0llyW00dzZ commented on May 19, 2024

However, the network request indicates that all calls are using the v1beta version, instead of the API version you provided.

For instance, in the image below, I used the v1beta and v1 versions to hold conversations, respectively. However, all web pages used the v1beta version to conduct conversations. bug

it's because of this

export const Google = {

  ExampleEndpoint: "https://generativelanguage.googleapis.com/",

  ChatPath: "v1beta/models/gemini-pro:generateContent",

  VisionChatPath: "v1beta/models/gemini-pro-vision:generateContent",



  // /api/openai/v1/chat/completions

};

Also This repository hasn't been fixed for a long time and is essentially unmaintained, as @fred-bf is the only one managing it.

So in pull request #4192, I can only simply modify the code to solve the problem I encountered (or cover up the problem). After all, refactoring this part of the code is a bit too difficult for me now😢

It's only refactoring support v1 and v1beta instead of only v1beta

from chatgpt-next-web.

H0llyW00dzZ avatar H0llyW00dzZ commented on May 19, 2024

It's only refactoring support v1 and v1beta instead of only v1beta

I'm preparing for a test recently. After my test is over, if no one has solved it, I want to give it a try.

nice

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.