GlaDOS
GlaDOS copied to clipboard
Added a possibility to select which speaker device to use
This change allows the user to select which device to use for the calls to sounddevice.play
. It can be set as an extra option in the glados_config.yml
file like so:
Glados:
completion_url: "http://localhost:11434/api/chat"
model: "llama3.2"
(...)
wake_word: null
IO:
speaker_device: <id_to_speaker_device>
To list the available devices and their IDs, just run sounddevice.query_devices()
Summary by CodeRabbit
-
New Features
- Added support for configuring audio output device through a YAML configuration file
- Enhanced system configuration with flexible device selection
-
Improvements
- Improved configuration loading with fallback encoding support