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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user