fix: use the correct name in the transcription agent

ref: N25B-257
This commit is contained in:
Twirre Meulenbelt
2025-11-19 16:29:13 +01:00
parent 6c401a18b4
commit 5f3d290fb6
2 changed files with 5 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ class TranscriptionAgent(BaseAgent):
async def _share_transcription(self, transcription: str):
"""Share a transcription to the other agents that depend on it."""
receiver_jids = [
settings.agent_settings.texbdi_text_belief_agent_name
settings.agent_settings.text_belief_extractor_name
+ "@"
+ settings.agent_settings.host,
] # Set message receivers here

View File

@@ -76,7 +76,7 @@ async def lifespan(app: FastAPI):
# --- Initialize Agents ---
logger.info("Initializing and starting agents.")
agents_to_start = {
"ComRIAgent": (
"RICommunicationAgent": (
RICommunicationAgent,
{
"name": settings.agent_settings.ri_communication_name,
@@ -104,7 +104,7 @@ async def lifespan(app: FastAPI):
"asl": "src/control_backend/agents/bdi/bdi_core_agent/rules.asl",
},
),
"BDIBeliefCollectorAgent": (
"BeliefCollectorAgent": (
BDIBeliefCollectorAgent,
{
"name": settings.agent_settings.bdi_belief_collector_name,
@@ -113,7 +113,7 @@ async def lifespan(app: FastAPI):
"password": settings.agent_settings.bdi_belief_collector_name,
},
),
"BDITextBeliefAgent": (
"TextBeliefExtractorAgent": (
TextBeliefExtractorAgent,
{
"name": settings.agent_settings.text_belief_extractor_name,
@@ -122,7 +122,7 @@ async def lifespan(app: FastAPI):
"password": settings.agent_settings.text_belief_extractor_name,
},
),
"PerVADAgent": (
"VADAgent": (
VADAgent,
{"audio_in_address": "tcp://localhost:5558", "audio_in_bind": False},
),