feat: introduce .env.example, docs

The example includes options that are expected to be changed. It also includes a reference to where in the docs you can find a full list of options.

ref: N25B-352
This commit is contained in:
Twirre Meulenbelt
2025-12-11 13:35:19 +01:00
parent 32d8f20dc9
commit 0c682d6440
7 changed files with 63 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ class RobotSpeechAgent(BaseAgent):
def __init__(
self,
name: str,
address=settings.zmq_settings.ri_command_address,
address: str,
bind=False,
):
super().__init__(name)

View File

@@ -37,7 +37,7 @@ class RICommunicationAgent(BaseAgent):
def __init__(
self,
name: str,
address=settings.zmq_settings.ri_command_address,
address=settings.zmq_settings.ri_communication_address,
bind=False,
):
super().__init__(name)

View File

@@ -166,9 +166,8 @@ class VADAgent(BaseAgent):
"""
try:
self.audio_out_socket = azmq.Context.instance().socket(zmq.PUB)
address = "inproc://vad_stream"
self.audio_out_socket.bind(address)
return address
self.audio_out_socket.bind(settings.zmq_settings.vad_pub_address)
return settings.zmq_settings.vad_pub_address
except zmq.ZMQBindError:
self.logger.error("Failed to bind an audio output socket after 100 tries.")
self.audio_out_socket = None