mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-28 01:21:43 +00:00
fix: accept **kwargs in send_voice for Discord and Slack adapters
play_tts base class forwards metadata via **kwargs to send_voice, but Discord and Slack adapters did not accept extra keyword arguments, causing TypeError and silent message handling failure. Also fix test_web_defaults to patch correct env var (WEB_UI_TOKEN).
This commit is contained in:
parent
f078cb4038
commit
1b10c3711d
3 changed files with 3 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ class TestConfigEnvOverrides(unittest.TestCase):
|
|||
|
||||
@patch.dict(os.environ, {
|
||||
"WEB_UI_ENABLED": "true",
|
||||
"WEB_TOKEN": "",
|
||||
"WEB_UI_TOKEN": "",
|
||||
}, clear=False)
|
||||
def test_web_defaults(self):
|
||||
config = GatewayConfig()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue