Skip to content

fix: correct log messages in Kokoro TTS connector from ElevenLabs to Kokoro#2152

Open
giwaov wants to merge 1 commit intoOpenMind:mainfrom
giwaov:fix/kokoro-tts-connector-log-messages
Open

fix: correct log messages in Kokoro TTS connector from ElevenLabs to Kokoro#2152
giwaov wants to merge 1 commit intoOpenMind:mainfrom
giwaov:fix/kokoro-tts-connector-log-messages

Conversation

@giwaov
Copy link

@giwaov giwaov commented Feb 7, 2026

Summary

The Kokoro TTS connector (src/actions/speak/connector/kokoro_tts.py) contained copy-paste errors from the ElevenLabs connector, where log messages and docstrings incorrectly referenced 'Elevenlabs TTS' instead of 'Kokoro TTS'.

Problem

When troubleshooting or monitoring TTS functionality, log messages in the Kokoro TTS connector incorrectly stated 'Elevenlabs TTS', which causes confusion:

  • Users might think ElevenLabs is being used when actually Kokoro is configured
  • Debugging becomes harder when logs don't match the actual component
  • The stop method docstring claimed to be for ElevenLabs instead of Kokoro

Changes

Location Before After
Line 135 \Elevenlabs TTS Zenoh client opened\ \Kokoro TTS Zenoh client opened\
Line 137 \Error opening Elevenlabs TTS Zenoh client\ \Error opening Kokoro TTS Zenoh client\
Line 290 (docstring) \Stop the Elevenlabs TTS connector\ \Stop the Kokoro TTS connector\
Line 294 \Elevenlabs TTS Zenoh client closed\ \Kokoro TTS Zenoh client closed\

Impact

This fix improves debugging clarity and log accuracy for users of the Kokoro TTS connector.

Related

This is a similar copy-paste issue to PR #2151 which fixed the same problem in kokoro_tts_provider.py.

…Kokoro

The Kokoro TTS connector (kokoro_tts.py) contained copy-paste errors from the
ElevenLabs connector, where log messages and docstrings incorrectly referenced
'Elevenlabs TTS' instead of 'Kokoro TTS':

- Line 135: Changed 'Elevenlabs TTS Zenoh client opened' to 'Kokoro TTS Zenoh client opened'
- Line 137: Changed 'Error opening Elevenlabs TTS Zenoh client' to 'Error opening Kokoro TTS Zenoh client'
- Line 290: Fixed docstring 'Stop the Elevenlabs TTS connector' to 'Stop the Kokoro TTS connector'
- Line 294: Changed 'Elevenlabs TTS Zenoh client closed' to 'Kokoro TTS Zenoh client closed'

This fix improves debugging clarity by ensuring log messages correctly identify
the Kokoro TTS connector rather than misleadingly referencing ElevenLabs.
@giwaov giwaov requested a review from a team as a code owner February 7, 2026 14:24
Copilot AI review requested due to automatic review settings February 7, 2026 14:24
@giwaov giwaov requested a review from a team as a code owner February 7, 2026 14:24
@github-actions github-actions bot added robotics Robotics code changes python Python code labels Feb 7, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes misleading Kokoro connector logging/docstring text that incorrectly referenced ElevenLabs, improving debugging clarity in the Speak action TTS connectors.

Changes:

  • Update Zenoh client open/close log messages to say “Kokoro TTS” instead of “Elevenlabs TTS”.
  • Update the stop() docstring to correctly refer to the Kokoro connector.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python code robotics Robotics code changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants