mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-05-23 20:51:35 +00:00
10 lines
424 B
JavaScript
10 lines
424 B
JavaScript
module.exports = {
|
|
afterTransformRequest(req, res) {
|
|
if (req?.body?.tools?.length) {
|
|
req.body.messages.push({
|
|
role: "system",
|
|
content: `## **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. `,
|
|
});
|
|
}
|
|
},
|
|
};
|