fix: /logwatch et /machine routés directement vers leurs skills (sans LLM)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -719,6 +719,11 @@ class LogWatchAgent(BaseAgent):
|
|||||||
self._extension_event.set()
|
self._extension_event.set()
|
||||||
return "⏸️ Analyse reportée au prochain créneau."
|
return "⏸️ Analyse reportée au prochain créneau."
|
||||||
|
|
||||||
|
# Dispatch direct vers les skills métier (contourne le LLM)
|
||||||
|
if cmd_lower in ('logwatch', 'machine'):
|
||||||
|
ctx = AgentContext(self)
|
||||||
|
return self.skills.run(cmd_lower, args, ctx)
|
||||||
|
|
||||||
if cmd_lower == 'update':
|
if cmd_lower == 'update':
|
||||||
return self._self_update()
|
return self._self_update()
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user