Closed robbiered closed 2 months ago
👀 @robbiered
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
This is a problem with Gemini. Its function calling capability is very poor. It is recommended to use models from other providers in conjunction with this plugin
Like:
duplicate of https://github.com/lobehub/lobe-chat/issues/2537
✅ @robbiered
This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。
📦 Environment
Docker
📌 Version
1.9.8
💻 Operating System
Other Linux
🌐 Browser
Chrome
🐛 Bug Description
get this error when using steam game reviews assistant and plugin with gemini
{ "error": { "message": "[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-latest:streamGenerateContent?alt=sse: [400 Bad Request] * GenerateContentRequest.tools[0].function_declarations[3].parameters.properties: should be non-empty for OBJECT type\n* GenerateContentRequest.tools[0].function_declarations[4].parameters.properties: should be non-empty for OBJECT type\n" }, "provider": "google" }
📷 Recurrence Steps
select steam game reviews assistant, try to use any text with gemini
🚦 Expected Behavior
expect it to respond without error
📝 Additional Information
No response