usando el mcp siempre ya no se necesita lllamar /planilla
All checks were successful
Deploy conversation layer / deploy (push) Successful in 22s

This commit is contained in:
2025-06-05 02:21:36 -06:00
parent 12d9890c38
commit 00b1171595

View File

@@ -44,7 +44,8 @@ app.post('/', async (req, res) => {
try {
const contents = `Repo information: ${repoInfo}\nUser message: ${message}`;
const config: any = {};
if (message.toLowerCase().includes('/planilla')) {
// if (message.toLowerCase().includes('/planilla')) {
if (true) {
console.log('Using Model Context Protocol tools ', MCP_URL);
const client = await getMcpClient();
config.tools = [mcpToTool(client)];