Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] #5556

Closed
Aiden-Coding opened this issue Sep 27, 2024 · 25 comments
Closed

[Bug] #5556

Aiden-Coding opened this issue Sep 27, 2024 · 25 comments
Labels
bug Something isn't working

Comments

@Aiden-Coding
Copy link

📦 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 Aiden-Coding added the bug Something isn't working label Sep 27, 2024
@nextchat-manager
Copy link

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

@Issues-translate-bot
Copy link

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


Title: [Bug]

@lloydzhou
Copy link
Contributor

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

@mountainguan
Copy link

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

出了个002的

@Issues-translate-bot
Copy link

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的

@Aiden-Coding
Copy link
Author

接口404image

@Aiden-Coding
Copy link
Author

image

我映像中没有这个模型吧

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

@lloydzhou
Copy link
Contributor

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

@Issues-translate-bot
Copy link

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?

@Aiden-Coding
Copy link
Author

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

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

@Issues-translate-bot
Copy link

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.

@lloydzhou
Copy link
Contributor

lloydzhou commented Sep 29, 2024

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

image

@Issues-translate-bot
Copy link

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

@dupl
Copy link
Contributor

dupl commented Sep 29, 2024

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

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

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

@Issues-translate-bot
Copy link

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🥹

@mountainguan
Copy link

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

image

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

@Issues-translate-bot
Copy link

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.

@Aiden-Coding
Copy link
Author

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

image

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

@Issues-translate-bot
Copy link

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.

@lloydzhou
Copy link
Contributor

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端并不受影响。

@Issues-translate-bot
Copy link

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 the 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.

#5541 This PR did introduce a bug that resulted in a 404 error.

When calling google api before, the key was put in the URL and passed (Google's interface has always been called this way). Recently, it is supported to use x-goog-api-key to pass

#5562 This PR fixes this 404 problem

These two PRs were merged into the main branch and no new version was released, so the online app.nextchat.dev, docker packages and App side are not affected.

@mountainguan
Copy link

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端并不受影响。

确实解决了,辛苦了,已经拉取最细弄的代码到vercel顺利运行了

@Issues-translate-bot
Copy link

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 the 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.

#5541 This PR did introduce a bug that caused a 404 error.

When calling google api before, the key was put in the URL and passed (Google's interface has always been called this way). Recently, it is supported to use x-goog-api-key to pass

#5562 This PR fixes this 404 problem

These two PRs are merged into the main branch and no new version is released, so the online app.nextchat.dev, docker package and App side are not affected.

It is indeed solved. Thank you for your hard work. I have extracted the most detailed code to vercel and run it smoothly.

@Aiden-Coding
Copy link
Author

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端并不受影响。

幸苦了,感谢

@Issues-translate-bot
Copy link

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 the 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.

#5541 This PR did introduce a bug that caused a 404 error.

When calling google api before, the key was put in the URL and passed (Google's interface has always been called this way). Recently, it is supported to use x-goog-api-key to pass

#5562 This PR fixes this 404 problem

These two PRs are merged into the main branch and no new version is released, so the online app.nextchat.dev, docker package and App side are not affected.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants