lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.35k stars 9.94k forks source link

[Bug] gemini1.5pro无法使用插件 #2838

Closed xingpingcn closed 4 months ago

xingpingcn commented 5 months ago

📦 Environment

📌 Version

最新

💻 Operating System

🌐 Browser

🐛 Bug Description

image

使用官方api

{
  "identifier": "weather",
  "message": "[gateway] plugin 'weather' is not found,please check the plugin list in https://chat-plugins.lobehub.com, or create an issue to [lobe-chat-plugins](https://github.com/lobehub/lobe-chat-plugins/issues)"
}

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

lobehubbot commented 5 months ago

👀 @xingpingcn

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 5 months ago

根据这个报错来看,应该是 Google Gemini Pro 在 Function calling 上对于 tool 的识别能力有限导致的。

我之前自己测试也是有这个问题,这个不算是 LobeChat 的 bug ,而是 Google Gemini 的Function calling水平有限导致的。

你可以试试例如 groq 的 llama3、moonshot、glm-4 , minimax 的abab-6.5 应该都是能正常识别的。

xingpingcn commented 5 months ago

这些模型我只有glm-4,还不是官方api,是oneapi转的,就没办法测试了 image

arvinxx commented 5 months ago

这些模型我只有glm-4,还不是官方api,是oneapi转的

你去对应平台官网注册一下不就有了?国内的供应商注册以后还送几千万token的

lobehubbot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I only have glm-4 for these models, which are not official APIs yet. They are transferred from oneapi.

Can you just go to the official website of the corresponding platform and register? Domestic suppliers will also receive tens of millions of tokens after registration.

lobehubbot commented 4 months ago

✅ @xingpingcn

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