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
40.95k stars 9.34k forks source link

[Bug] 在AI自身有toolCall函数调用,不用在system中填充多余的提示 #3096

Closed bincooo closed 2 months ago

bincooo commented 2 months ago

📦 部署环境

Docker

📌 软件版本

latest

💻 系统环境

Ubuntu

🌐 浏览器

Edge

🐛 问题描述

RT,我调试时发现在支持tool功能会在头部的system里填充 Tools\n\nYou can use these tools below: ....

感觉此处可省略节省token,另一方面指令理解较差的AI也会受干扰

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

lobehubbot commented 2 months ago

👀 @bincooo

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 2 months ago

你想简单了 https://github.com/lobehub/lobe-chat/discussions/1310#discussioncomment-9137726

lobehubbot commented 2 months ago

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


You want it easy https://github.com/lobehub/lobe-chat/discussions/1310#discussioncomment-9137726

lobehubbot commented 2 months ago

✅ @bincooo

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

BrandonStudio commented 2 months ago

如果有详细对比测试的话可以在 #1310 里跟进讨论

lobehubbot commented 2 months ago

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


If you have detailed comparison tests, you can follow up the discussion in #1310