Comments (9)
Docs https://ai.google.dev/docs/api_versions
from chatgpt-next-web.
It's only refactoring support
v1
andv1beta
instead of onlyv1beta
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.
@Rubuark it's better to trying
from chatgpt-next-web.
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.
from chatgpt-next-web.
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.
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.
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.
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.
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.
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.
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.
It's only refactoring support
v1
andv1beta
instead of onlyv1beta
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)
- [Bug] Chinese contents with **bold marks** are not correctly rendered HOT 7
- [Bug] 回复中的公式不能正常显示 HOT 2
- app.nextchat.dev 不能设置 API Key了吗? HOT 7
- [Feature Request]: 图标问题 HOT 2
- [Bug] Bold text mark appears in the chat title when using `gemini-pro` model HOT 2
- [Bug] it seems that `max_token`s not be sent as a request param HOT 2
- [Feature Request]: Docker部署的如何开启ssl HOT 2
- 不合法的 OpenAI 响应 HOT 3
- [Bug] Issue with NextWeb API Key Deactivation Error HOT 4
- [Bug] 访问密码不正确或为空 HOT 3
- The response content of gpt4-vision model is too short [Bug] HOT 5
- [Bug] Mac OS版本不支持中文输入 HOT 2
- [Bug] Azure gpt4的api传过来的数据为什么是2021年的 HOT 7
- [Feature Request]: 能支持gpt-4-turbo-preview模型吗 HOT 4
- [Bug] gpt-4-vision-preview模型回答中断 HOT 7
- [Feature Request]: 希望支持http和不安全的https HOT 1
- [Bug] HOT 11
- [Bug] 桌面版本更新2.10.3+后历史记录全部消失 HOT 9
- 接口地址url两侧的空白字符不会自动去掉 HOT 2
- 提问后报错,是需要魔法吗? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-next-web.