Global elevenlabs voice config overrides Wingman elevenlabs config | Breaks app
Closed this issue · 3 comments
JaydiCodes commented
If a global voice name is supplied for the elevenlabs config object, voice: Adam
, and a later elevenlabs config object has a voice object specified voice: id: <id>
, it breaks the app trying to merge an item with a string.
Tower.py - line 32. Not exact area but starting point
def __instantiate_wingmen(self) -> list[Wingman]:
...
merged_config = self.__merge_configs(global_config, wingman_config) <- HERE
class_config = merged_config.get("class")
wingman = None
Shackless commented
Also related to
wingman-ai/wingmen/open_ai_wingman.py
Lines 354 to 358 in 0d7e80c
id
if a name
is set as well.Shackless commented
I fixed it. Do you want to take a look at the PR, @JaydiCodes? Thank you!
JaydiCodes commented
@Shackless I took a look. It's what we both were thinking. Sure that would work fine.