fix: retornar [] en processTareaCommand y usar [] como fallback de rutas

Co-authored-by: aider (openrouter/openai/gpt-5) <aider@aider.chat>
main
brobert 3 days ago
parent fa27be673d
commit e2f152fd9e

@ -47,6 +47,7 @@ export class CommandService {
private static async processTareaCommand(
context: CommandContext
): Promise<CommandResponse[]> {
return [];
const trimmed = (context.message || '').trim();
const tokens = trimmed.split(/\s+/);
const rawAction = (tokens[1] || '').toLowerCase();
@ -1116,7 +1117,7 @@ Puedes interactuar escribiéndome por privado:
try {
const routed = await routeCommand(context, { db: this.dbInstance });
const responses = routed ?? (await this.processTareaCommand(context));
const responses = routed ?? [];
// Clasificación explícita del outcome (evita lógica en server)
const tokens = msg.split(/\s+/);

Loading…
Cancel
Save