refactor: agents inherit logger from BaseAgent

Created a class `BaseAgent`, from which all agents inherit. They get
assigned a logger with a nice name (something like
`control_backend.agents.AgentName`).

The BDI core takes care of its own logger, as bdi is still a module.

ref: N25B-241
This commit is contained in:
2025-11-04 20:48:55 +01:00
parent d43cb9394a
commit a98018ddda
15 changed files with 174 additions and 159 deletions

View File

@@ -1,4 +1,17 @@
from .base import BaseAgent
from .belief_collector.belief_collector import BeliefCollectorAgent
from .llm.llm import LLMAgent
from .ri_command_agent import RICommandAgent
from .ri_communication_agent import RICommunicationAgent
from .vad_agent import VADAgent
from .transcription.transcription_agent import TranscriptionAgent
from .vad_agent import VADAgent
__all__ = [
"BaseAgent",
"BeliefCollectorAgent",
"LLMAgent",
"RICommandAgent",
"RICommunicationAgent",
"TranscriptionAgent",
"VADAgent",
]