refactor: remove constants and put in config file

removed all constants from all files and put them in src/control_backend/core/config.py
also removed some old mock agents that we don't use anymore

ref: N25B-236
This commit is contained in:
Pim Hutting
2025-11-05 13:43:57 +01:00
parent c6edad0bb4
commit 9e926178da
15 changed files with 136 additions and 73 deletions

View File

@@ -39,7 +39,7 @@ async def lifespan(app: FastAPI):
ri_communication_agent = RICommunicationAgent(
settings.agent_settings.ri_communication_agent_name + "@" + settings.agent_settings.host,
settings.agent_settings.ri_communication_agent_name,
address="tcp://*:5555",
address=settings.zmq_settings.ri_communication_address,
bind=True,
)
await ri_communication_agent.start()
@@ -71,7 +71,7 @@ async def lifespan(app: FastAPI):
)
await text_belief_extractor.start()
_temp_vad_agent = VADAgent("tcp://localhost:5558", False)
_temp_vad_agent = VADAgent(settings.zmq_settings.vad_agent_address, False)
await _temp_vad_agent.start()
yield