Conversation
…gs (#36) ** Add Speech-To-Text support: - Add local Whisper speech-to-text support for Telegram voice/audio messages, including startup prerequisite checks, shared STT installer flow, env configuration, and transcript dispatch into the normal message pipeline. - Add dependency installation script and environment detection - Add OpenAI-Whisper and required dependencies in the setup script and server startup script - Server startups now checks the dependencies when STT config is enabled - Document the Whisper/STT flow, update localized user-facing strings, and add regression tests for speech-to-text, queue ordering, reply behavior, and installer prerequisite checks. - Add test cases: ** Runtime issue fix: harden queue, reply threading, and startup consistency: - Fix pending-action and queue drain ordering, busy/queue race handling, reply threading for working/final output, and ensure install.sh launches with the same Python interpreter used for installation. - Fix queue messages during pending session setup - Fix Queue text and voice transcripts while session prerequisites are unresolved, then drain the queue after session creation completes. Add regression coverage for pending new-session text/voice cases and clean up localized README diff wording. ** Bug fix: Fix 1 — Double HTML escaping in bold text Fix 2 — callback_data 64-byte limit for branch source buttons Fix 3 — Queue delimiter injection corrupts queued messages --------- Co-authored-by: DCHA Agent <259406208+dcha-agent@users.noreply.github.com>
Bug fixes: - config.py: wrap int() in try/except for malformed ALLOWED_CHAT_IDS - session_lifecycle_commands.py: guard against None return from _run_with_typing - session_runtime.py: use locale_from_update instead of hardcoded 'en' in store_photo Maintainability: - session_branch_resolution.py: remove duplicate _multi_branch_source_keyboard (was dead code shadowed by ProjectCommandMixin in the MRO) Test coverage (81% → 86%, 457 → 605 tests): - 15 files now at 100%: i18n, session_store, session_common, telegram_sender, session_branch_resolution, session_commands, session_lifecycle_commands, session_status_commands, message_commands, project_commands, queue_processing, native_session_utils, native_codex_sessions, native_copilot_sessions, native_session_types, native_sessions, logging_utils - New test files: test_i18n.py, test_native_session_utils.py, test_native_sessions.py - Extended: test_command_router.py, test_config.py, test_session_store.py Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Treat plain-text 'Create session:' messages as /new commands * Style Telegram inline buttons by intent * Add testcase for inline buttons changes and creation sessions text changes --------- Co-authored-by: DCHA Agent <259406208+dcha-agent@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix one-liner install script by @daocha in #32
Fix live agent output format and update README by @daocha in #33
Add git signature support and Fix live output message by @daocha in #34
Add Speech-To-Text Feature by @daocha in #36
Speech-To-Text
Add local Whisper speech-to-text support for Telegram voice/audio messages, including startup prerequisite checks, shared STT installer flow, env configuration, and transcript dispatch into the normal message pipeline.
Add dependency installation script and environment detection
Add OpenAI-Whisper and required dependencies in the setup script and server startup script
Server startups now checks the dependencies when STT config is enabled
Document the Whisper/STT flow, update localized user-facing strings, and add regression tests for speech-to-text, queue ordering, reply behavior, and installer prerequisite checks.
Add test cases:
Runtime issue fix: harden queue, reply threading, and startup consistency:
Fix pending-action and queue drain ordering, busy/queue race handling, reply threading for working/final output, and ensure install.sh launches with the same Python interpreter used for installation.
Fix queue messages during pending session setup
Fix Queue text and voice transcripts while session prerequisites are unresolved, then drain the queue after session creation completes. Add regression coverage for pending new-session text/voice cases and clean up localized README diff wording.
Bug fix:
Fix 1 — Double HTML escaping in bold text
Fix 2 — callback_data 64-byte limit for branch source buttons
Fix 3 — Queue delimiter injection corrupts queued messages
Update demo image in README.md by @daocha in #37
Fix bugs and add code coverage by @daocha in #38
Correct translation for README th and de by @daocha in #39