add plugins

This commit is contained in:
jinhui.li
2025-06-18 12:20:07 +08:00
parent 84cb9a2009
commit 57a7da14a3
6 changed files with 77 additions and 22 deletions

View File

@@ -0,0 +1,8 @@
module.exports = async function handle(req, res) {
if (req?.body?.tools?.length) {
req.body.system.push({
type: "text",
text: `## **Important Instruction:** \nYou must use tools as frequently and accurately as possible to help the user solve their problem.\nPrioritize tool usage whenever it can enhance accuracy, efficiency, or the quality of the response.`
})
}
};