NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

[Bug]

Open Aiden-Coding opened this issue 2 years ago • 25 comments

📦 Deployment Method

Vercel

📌 Version

latest

💻 Operating System

Windows

📌 System Version

10

🌐 Browser

Edge

📌 Browser Version

latest

🐛 Bug Description

api/google/v1beta/models/gemini-1.5-flash-001:streamGenerateContent?alt=sse 请求方法: POST 状态代码: 404 Not Found

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

Aiden-Coding avatar Sep 27 '24 14:09 Aiden-Coding

Please follow the issue template to update description of your issue.

nextchat-manager avatar Sep 27 '24 14:09 nextchat-manager

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


Title: [Bug]

Issues-translate-bot avatar Sep 27 '24 14:09 Issues-translate-bot

image 我映像中没有这个模型吧

lloydzhou avatar Sep 29 '24 02:09 lloydzhou

image 我映像中没有这个模型吧

出了个002的

mountainguan avatar Sep 29 '24 03:09 mountainguan

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


![image](https://private-user-images.githubusercontent.com/1826685/371817981-bcc31b80-debd-4f34-b78e-78806c2afe96.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc 3MyOiJnaXRodWIuY29tIiwiY g1LzM3MTgxNzk4MS1iY2MzMWI4MC1kZWJkLTRmMzQtYjc4ZS03ODgwNmMyYWZlOTYucG5nP 1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJ QVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjlUMDMwODM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUF tei1TaWduYXR1cmU9YzFiYjZiYWU0ZTk1YjY4NTMzZTIzOTE2ODRhYzcwNDZmMmM1ZGI1YjY DcNx6E14XQlaynwBzPxIFpbg1ose8QXLqvS7ME) 我映像中没有这个模型吧

出了个002的

Issues-translate-bot avatar Sep 29 '24 03:09 Issues-translate-bot

接口404image

Aiden-Coding avatar Sep 29 '24 03:09 Aiden-Coding

image

我映像中没有这个模型吧

不是模型的问题,是接口404

Aiden-Coding avatar Sep 29 '24 03:09 Aiden-Coding

google官方的接口,将模型名称放到了url里面,所以,接口404应该就代表没有这个模型?

lloydzhou avatar Sep 29 '24 05:09 lloydzhou

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


Google's official interface puts the model name in the URL, so interface 404 should mean that there is no such model?

Issues-translate-bot avatar Sep 29 '24 05:09 Issues-translate-bot

google官方的接口,将模型名称放到了url里面,所以,接口404应该就代表没有这个模型?

gemini-1.5-flash-latest模型是有的,但是还是报了404,不知道是哪个大佬提交的代码导致的404

Aiden-Coding avatar Sep 29 '24 05:09 Aiden-Coding

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


Google's official interface puts the model name in the URL, so interface 404 should mean that there is no such model?

The gemini-1.5-flash-latest model exists, but it still reported 404. I don’t know which boss submitted the code that caused the 404.

Issues-translate-bot avatar Sep 29 '24 05:09 Issues-translate-bot

刚刚在最新的v2.15.3的线上版本(https://app.nextchat.dev/#/chat)测试了,gemini-1.5-flash-latest的模型是正常的,所以,还是不清楚问题在哪里?

image

lloydzhou avatar Sep 29 '24 05:09 lloydzhou

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


I just tested it on the latest v2.15.3 online version (https://app.nextchat.dev/#/chat). The model of gemini-1.5-flash-latest is normal, so I still don’t know the problem. Where?

image

Issues-translate-bot avatar Sep 29 '24 05:09 Issues-translate-bot

google官方的接口,将模型名称放到了url里面,所以,接口404应该就代表没有这个模型?

gemini-1.5-flash-latest模型是有的,但是还是报了404,不知道是哪个大佬提交的代码导致的404

gemini-1.5-pro-latest也用不了,不知道哪位大佬搞的🥹

dupl avatar Sep 29 '24 07:09 dupl

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


Google's official interface puts the model name in the URL. Therefore, interface 404 should mean that there is no such model?

The gemini-1.5-flash-latest model exists, but it still reports 404. I don’t know which boss submitted the code that caused the 404.

gemini-1.5-pro-latest doesn’t work either, I don’t know who did it🥹

Issues-translate-bot avatar Sep 29 '24 07:09 Issues-translate-bot

刚刚在最新的v2.15.3的线上版本(https://app.nextchat.dev/#/chat)测试了,gemini-1.5-flash-latest的模型是正常的,所以,还是不清楚问题在哪里?

image

你是不是指定了版本来部署,我们是拉最新代码到vercel的,比2.15.3多了几天的代码,前天上班下午的时候还更新过,那时候都还行。今天回来上班就发现异常了

mountainguan avatar Sep 29 '24 07:09 mountainguan

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


I just tested it on the latest v2.15.3 online version (https://app.nextchat.dev/#/chat), and the model of gemini-1.5-flash-latest is normal, so, still Not sure what the problem is?

![image](https://private-user-images.githubusercontent.com/1826685/371827008-4a10ef86-87b4-469f-bc4e-c9a0a70b14fc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3Mi OiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjc1OTY3NjIsIm5iZiI6MTcyNzU5NjQ2MiwicGF0aCI6Ii8xODI2Nj g1LzM3MTgyNzAwOC00YTEwZWY4Ni04N2I0LTQ2OWYtYmM0ZS1jOWEwYTcwYjE0ZmMucG5nP 1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQ VZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MjlUMDc1NDIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei 1TaWduYXR1cmU9YzkyN2Q2ZTA2ZjliMTMyYzljODdkZDhjZjBjZTBiNmMzZDUxNDM4OGI1MDQ1M 2U0Y2IyNDg0NmY2MWYxOGJhMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.m9rAMXj1H9aong TwNByvv9i9MCsXT8Z3DQ-UuXqn9QQ)

Did you specify the version for deployment? We pulled the latest code to vercel, which is a few days more code than 2.15.3. It was updated in the afternoon of work the day before yesterday, and it was fine at that time. When I came back to work today, I noticed something strange.

Issues-translate-bot avatar Sep 29 '24 07:09 Issues-translate-bot

刚刚在最新的v2.15.3的线上版本(https://app.nextchat.dev/#/chat)测试了,gemini-1.5-flash-latest的模型是正常的,所以,还是不清楚问题在哪里?

image

我是用的是最新的代码,前几天还可以的,拉取最新代码就报404

Aiden-Coding avatar Sep 29 '24 08:09 Aiden-Coding

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


I just tested it on the latest v2.15.3 online version (https://app.nextchat.dev/#/chat), and the model of gemini-1.5-flash-latest is normal, so, still Not sure what the problem is?

image

I am using the latest code. It was working fine a few days ago, but when I pull the latest code, it reports 404.

Issues-translate-bot avatar Sep 29 '24 08:09 Issues-translate-bot

google官方的接口,将模型名称放到了url里面,所以,接口404应该就代表没有这个模型?

gemini-1.5-flash-latest模型是有的,但是还是报了404,不知道是哪个大佬提交的代码导致的404

#5541 这个pr确实引入了bug导致404错误。

之前调用google api的时候,将key放到url里面传递(google的接口一直是这么调用的)最近支持使用x-goog-api-key传递

#5562 这个pr修复了这个404的问题

这两个pr都是合并到main分支,并未发新版,所以线上的app.nextchat.dev,docker的包以及App端并不受影响。

lloydzhou avatar Sep 29 '24 08:09 lloydzhou