Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: livekit-examples/python-agents-examples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: mobbyliu/python-agents-examples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 92 files changed
  • 1 contributor

Commits on Oct 31, 2025

  1. Update dependencies and improve EchoTranscriberAgent functionality

    - Updated Tailwind CSS and PostCSS versions in package.json files for both base-frontend-template and note-taker-frontend.
    - Refactored EchoTranscriberAgent to enhance real-time transcription capabilities, including improved VAD settings and removal of unnecessary audio output setup.
    - Adjusted logging to provide clearer feedback on transcription status and state changes.
    
    This commit enhances the overall performance and maintainability of the transcription agents.
    mobby committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    ff94481 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63f2389 View commit details
    Browse the repository at this point in the history
  3. Enhance translation agent and frontend components

    - Updated logging levels in TranslationDisplayAgent for better context visibility.
    - Implemented a queue system to manage interim non-Chinese transcripts for improved translation pairing.
    - Adjusted frontend layout for the translation display to be centered and responsive, enhancing user experience.
    - Modified translation display logic to ensure original text is shown when translations are available, improving clarity.
    - Refined audio visualizer and agent tile components for better performance and visual consistency.
    
    These changes improve the functionality and usability of the translation system.
    mobby committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    ae7220d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2025

  1. Implement tab navigation for translation display in session view

    - Added `TranslationTabs` component for mode selection between 'alternate' and 'split' views.
    - Integrated `SplitViewDisplay` for enhanced content presentation based on selected mode.
    - Updated layout to improve responsiveness and user experience in the translation display area.
    
    These changes enhance the functionality and usability of the translation interface.
    mobby committed Nov 1, 2025
    Configuration menu
    Copy the full SHA
    b2716e6 View commit details
    Browse the repository at this point in the history
  2. Enhance translation configuration and frontend display

    - Added Google Cloud Translation configuration options to `env.template`.
    - Updated `requirements.txt` to include `google-cloud-translate` dependency.
    - Expanded `README.md` for the OT Translator to detail the new Deepgram + Google Translate version and comparison with the Gladia version.
    - Improved `SplitViewDisplay` component to support language selection, debounce configuration, and real-time text highlighting for both original and translated text.
    
    These changes improve the flexibility and usability of the translation system, allowing for better configuration and user interaction.
    mobby committed Nov 1, 2025
    Configuration menu
    Copy the full SHA
    c385975 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2025

  1. Enhance DebouncedTranslator and frontend interaction

    - Added an `enabled` parameter to the `DebouncedTranslator` class to toggle debounce functionality.
    - Implemented an `update_enabled` method to manage debounce state and cancel pending tasks when disabled.
    - Updated `DeepgramTranslationAgent` to accept a `debounce_enabled` parameter for configuration.
    - Enhanced the `SplitViewDisplay` component to include a debounce toggle in the UI, allowing users to enable or disable debounce in real-time.
    - Introduced fade-in animations for text changes to improve user experience during translation updates.
    
    These changes improve the flexibility of the translation system and enhance the user interface for better interaction.
    mobby committed Nov 2, 2025
    Configuration menu
    Copy the full SHA
    b6e3ee7 View commit details
    Browse the repository at this point in the history
  2. Refactor translation display components and enhance session view

    - Replaced `TranslationDisplay` and `SplitViewDisplay` components with `TranslationAlternate` and `TranslationSplit` for improved functionality.
    - Introduced a configuration panel in the session view for selecting source and target languages, adjusting debounce settings, and enabling/disabling debounce.
    - Implemented a tab navigation system for switching between 'alternate' and 'split' display modes, enhancing user experience.
    - Removed deprecated components to streamline the codebase and improve maintainability.
    
    These changes enhance the translation interface, providing users with more control over their settings and improving the overall usability of the application.
    mobby committed Nov 2, 2025
    Configuration menu
    Copy the full SHA
    57966ba View commit details
    Browse the repository at this point in the history
  3. Refactor translation components for improved functionality and mainta…

    …inability
    
    - Replaced direct RPC handling in `TranslationAlternate` and `TranslationSplit` with a custom hook `useTranslationRPC` for better separation of concerns.
    - Introduced a new `ConversationBubble` component to standardize the display of conversation items, enhancing code reusability and readability.
    - Streamlined state management for original and translated texts, improving performance and reducing complexity.
    - Implemented automatic scrolling behavior using `useAutoScroll` for a smoother user experience during translation updates.
    
    These changes enhance the overall structure and usability of the translation interface, making it more efficient and user-friendly.
    mobby committed Nov 2, 2025
    Configuration menu
    Copy the full SHA
    b71c595 View commit details
    Browse the repository at this point in the history
  4. Implement incremental rendering for translation updates

    - Enhanced `DeepgramTranslationAgent` to support incremental updates by calculating deltas between original and translated texts, improving real-time rendering accuracy.
    - Updated the `TranslationData` structure to include `full_text` and `delta` fields for both original and translated texts, facilitating smoother UI updates.
    - Modified frontend components (`TranslationAlternate` and `TranslationSplit`) to utilize the new data structure, allowing for animated text changes and better user experience during interim translations.
    - Improved `ConversationBubble` component to handle incremental rendering, ensuring users see both real-time updates and final results without accumulated errors.
    
    These changes significantly enhance the translation interface, providing a more responsive and accurate user experience.
    mobby committed Nov 2, 2025
    Configuration menu
    Copy the full SHA
    ff9f822 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2025

  1. Enhance translation timing and frontend display

    - Added timing measurement in `DebouncedTranslator` to log translation duration, improving performance insights.
    - Updated logging format to include elapsed time for translations, enhancing debugging capabilities.
    - Modified `DeepgramTranslationAgent` to send original and translated texts together after translation completion, improving user experience.
    - Adjusted frontend component `TranslationAlternate` to clarify the display of interim translations, ensuring users are informed when translations are in progress.
    
    These changes improve the overall functionality and user experience of the translation system, providing better performance tracking and clearer communication during translations.
    mobby committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    05523ba View commit details
    Browse the repository at this point in the history
  2. Refine interim translation handling in TranslationAlternate component

    - Updated logic in the `TranslationAlternate` component to ensure that interim translations are only updated when new translations are available, maintaining the current value when no new translation is provided.
    - Removed unnecessary state updates for interim translations when the payload does not contain a new translation, improving performance and clarity in translation updates.
    
    These changes enhance the efficiency of the translation process by reducing unnecessary state changes and improving user experience during interim translations.
    mobby committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    7a0ae86 View commit details
    Browse the repository at this point in the history
  3. Remove AppLayout component and adjust layout styles in SessionView an…

    …d MediaTiles components
    
    - Deleted the `AppLayout` component to streamline the application structure.
    - Updated padding and margin styles in the `SessionView` component for improved layout consistency.
    - Adjusted the height of the background div in `SessionView` and modified the gradient height for better visual alignment.
    - Refined positioning of elements in the `MediaTiles` component to enhance the overall user interface.
    
    These changes simplify the layout and improve the visual presentation of the application.
    mobby committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    bf1ccbd View commit details
    Browse the repository at this point in the history
  4. Refactor translation configuration handling in DeepgramTranslationAge…

    …nt and SessionView
    
    - Removed debounce configuration parameters from the `update_config` method in `DeepgramTranslationAgent`, with a note that debounce settings are now controlled via backend environment variables.
    - Updated the `SessionView` component to eliminate local state management for debounce settings, simplifying the configuration process.
    - Added clarifications in comments regarding the handling of debounce settings, enhancing code readability and maintainability.
    
    These changes streamline the translation configuration process and improve the overall clarity of the codebase.
    mobby committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    c282c9d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5e36a88 View commit details
    Browse the repository at this point in the history
  6. 第二个可用版本

    mobby committed Nov 3, 2025
    Configuration menu
    Copy the full SHA
    f357ee4 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2025

  1. 第三个可用版:增加双向翻译

    mobby committed Nov 4, 2025
    Configuration menu
    Copy the full SHA
    5ab7910 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2025

  1. Configuration menu
    Copy the full SHA
    8acae31 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2025

  1. Add automatic device selection for non-BlackHole devices in DeviceSel…

    …ect component
    
    - Implemented a useEffect hook to automatically select the first available non-BlackHole media device if the currently active device is identified as BlackHole.
    - This enhancement improves user experience by ensuring that users are not stuck with a non-functional audio/video device during sessions.
    
    These changes streamline device management in the application, enhancing overall functionality.
    mobby committed Nov 6, 2025
    Configuration menu
    Copy the full SHA
    e1e996d View commit details
    Browse the repository at this point in the history
Loading