usando el mcp siempre ya no se necesita lllamar /planilla
All checks were successful
Deploy conversation layer / deploy (push) Successful in 22s
All checks were successful
Deploy conversation layer / deploy (push) Successful in 22s
This commit is contained in:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user