Skip to content

fix: rename adding_pending_message to add_pending_message in UbTtsProvider#2416

Open
0xbyt4 wants to merge 1 commit intoOpenMind:mainfrom
0xbyt4:fix/ub-tts-method-name
Open

fix: rename adding_pending_message to add_pending_message in UbTtsProvider#2416
0xbyt4 wants to merge 1 commit intoOpenMind:mainfrom
0xbyt4:fix/ub-tts-method-name

Conversation

@0xbyt4
Copy link
Collaborator

@0xbyt4 0xbyt4 commented Feb 23, 2026

All other TTS providers (elevenlabs, kokoro, riva, ros2_publisher, zenoh_publisher) implement add_pending_message. UbTtsProvider uses adding_pending_message instead, breaking the generic TTS interface.

The hook system (runtime/hook.py:266), greeting conversation connector, and navigation providers all call provider.add_pending_message(...) — any of these will crash with AttributeError when UbTtsProvider is the configured TTS provider.

The only caller that worked was speak/connector/ub_tts.py because it directly used the wrong name. Updated both the provider and all callers/tests.

…vider

All other TTS providers (elevenlabs, kokoro, riva, ros2_publisher,
zenoh_publisher) use add_pending_message. The hook system and greeting
conversation connector call add_pending_message on any TTS provider,
causing AttributeError when UbTtsProvider is used through the generic
TTS interface.
@0xbyt4 0xbyt4 requested review from a team as code owners February 23, 2026 14:02
@github-actions github-actions bot added robotics Robotics code changes python Python code tests Test files labels Feb 23, 2026
@codecov
Copy link

codecov bot commented Feb 23, 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 tests Test files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant