lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design LLMs/AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Bedrock / Azure / Mistral / Perplexity ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT chat application.
https://chat-preview.lobehub.com
Other
34.85k stars 8.19k forks source link

[Bug] Gemini-1.5-Pro not found #1842

Closed edward821220 closed 2 months ago

edward821220 commented 3 months ago

💻 Operating System

macOS

📦 Environment

Official Preview

🌐 Browser

Edge

🐛 Bug Description

Gemini-1.5-Pro not found

{
  "error": {
    "message": "[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:streamGenerateContent?alt=sse: [404 Not Found] models/gemini-1.5-pro-latest is not found for API version v1beta, or is not supported for StreamGenerateContent. Call ListModels to see the list of available models and their supported methods."
  },
  "provider": "google"
}

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

lobehubbot commented 3 months ago

👀 @edward821220

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

rogepi commented 3 months ago

image

From models list API, it seems that Gemini free API does not currently support Gemini-1.5-Pro

Gemini 1.0 Pro is still working fine

rogepi commented 3 months ago

image

From models list API, it seems that Gemini free API does not currently support Gemini-1.5-Pro

Gemini 1.0 Pro is still working fine

Maybe we can use the models list API to get the models available for Gemini in Lobe Chat.

ckt1031 commented 3 months ago

From models list API, it seems that Gemini free API does not currently support Gemini-1.5-Pro Gemini 1.0 Pro is still working fine

Maybe we can use the models list API to get the models available for Gemini in Lobe Chat.

For model fetching, follow https://github.com/lobehub/lobe-chat/discussions/1686

Gemini 1.5 Pro and Gemini Ultra API are currently in preview and only available to selected developers.

yuwenhuoxuan commented 3 months ago

@rogepi Gemini 1.0 Pro works fine,thanks

lobehubbot commented 2 months ago

✅ @edward821220

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 2 months ago

:tada: This issue has been resolved in version 0.147.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: