Commit History

Update deployment environment configuration: Replace hardcoded default environment in agent.py
3a97ef8
Running

dvalle08 commited on

Integrate Langchain usage patch and update UI metrics: Apply Langchain usage patch in agent.py, adjust pipeline stage layout in index.html, and enhance metric descriptions in main.js for improved clarity and functionality.
e9aa04f

dvalle08 commited on

Enhance metrics handling and add EOU support: Update ChannelPublisher and TurnTracer to include end-of-utterance (EOU) metrics, refactor latency calculations, and improve metric attribute handling. Modify UI tooltips for clarity and adjust test cases to validate new metrics structure.
9ef4d80

dvalle08 commited on

Add LLM connection settings and enhance error handling: Introduce new parameters for LLM connection timeout, retry attempts, and stall timeout in .env.example and settings.py. Update agent.py to log errors and session closures, and implement a watchdog for LLM stall detection in MetricsCollector.
3d758c5

dvalle08 commited on

Refactor PocketTTS and test cases: Remove unused sample rate parameters in _tensor_to_pcm_bytes
3decc8a

dvalle08 commited on

Update PocketTTS configuration and logging: Change sample rate handling to enforce native 24kHz, adjust idle process count in .env.example, and enhance audio diagnostics in main.js for better tracking of remote audio track events.
93ad4ad

dvalle08 commited on

Enhance agent metrics logging and configuration: Add detailed logging for various metrics (VAD, EOU, STT, LLM, TTS) in agent.py,
4730cee

dvalle08 commited on

Add error handling for session bootstrap failures: Implement a client-safe error response payload in session_bootstrap.py and update Streamlit routes to use this new error handling.
3a5c3c8

dvalle08 commited on

Refactor session bootstrap handling and Streamlit app startup: Update start.sh to launch the app using uvicorn, enhance session bootstrap logic in session_bootstrap.py with retry mechanisms for transient errors, and modify streamlit_app.py to conditionally use a new route for session initialization. Add tests for retry behavior and error handling in session bootstrap payload generation.
38bbab9

dvalle08 commited on

Refactor metrics handling in MetricsCollector and UI: Consolidate latency calculations, enhance live metrics updates for agent roles, and improve test coverage for EOU latencies without LLM or TTS. Streamline code for clarity and accuracy in metric reporting.
e9ab82c

dvalle08 commited on

Remove session metadata handling from agent and UI: Eliminate the on_data_received function in agent.py and the session metadata publishing logic in main.js to streamline session management and improve code clarity.
a555046

dvalle08 commited on

Refactor Streamlit app and UI for session management: Replace token generation with session bootstrap URL, update client rendering logic, and enhance error handling for session initialization. Improve metrics logging in agent and metrics collector for better tracking of session metadata.
259349d

dvalle08 commited on

Refactor MetricsCollector and UI for improved latency tracking: Simplify metric calculations by consolidating functions, enhance tooltip descriptions for clarity, and adjust CSS for better layout and responsiveness in index.html.
75a8a38

dvalle08 commited on

Refactor UI metrics and enhance tooltip descriptions: Remove average metrics display from index.html and main.js, update tooltip content for latency metrics to provide clearer explanations, and adjust CSS for improved layout and responsiveness.
a03597f

dvalle08 commited on

Update UI styles and metrics handling: Add .vscode to .gitignore, enhance button styles in index.html, and introduce new metrics for voice generation in main.js. Refactor metric calculations and improve layout for better responsiveness.
b90c86e

dvalle08 commited on

Update metrics display and calculations: Rename and add new metrics for EOU Delay, STT Finalization, LLM TTFT, LLM→TTS Handoff, and TTS TTFB. Adjust layout for better responsiveness and improve average calculations in the metrics collector.
c4ca11e

dvalle08 commited on

Enhance live metrics display and update metric handling: Adjust grid layout for metrics, rename and add new metrics for EOU Delay, STT Finalization, LLM TTFT, and LLM→TTS Handoff. Refactor metric update logic for clarity and accuracy.
87fcf72

dvalle08 commited on

Refactor latency metrics in MetricsCollector: Rename 'llm_generation_wait' to 'llm_to_tts_handoff' for clarity and consistency across the codebase
27e2b80

dvalle08 commited on

Add agent state change handling and improve metrics collection: Introduce AgentStateChangedEvent to track agent state transitions. Update MetricsCollector to record timestamps for first assistant audio when entering the speaking state. Enhance test coverage for new functionality in agent state management.
ff948a9

dvalle08 commited on

efactor MetricsCollector and UI to enhance latency tracking and simplify display: Update latency calculations to include STT finalization and LLM generation wait metrics. Remove unused session and trace ID elements from the UI for a cleaner interface. Improve test coverage for new latency metrics and ensure accurate reporting in conversation turns.
c37dfc2

dvalle08 commited on

Update trace finalize timeout and enhance assistant text handling
5e589a1

dvalle08 commited on

Enhance VAD configuration and add fallback participant ID support: Update VAD_MIN_SPEECH_DURATION and VAD_MIN_SILENCE_DURATION for faster response times. Introduce fallback participant ID logic in MetricsCollector to handle cases where participant metadata is absent, ensuring accurate trace reporting.
ef8254e

dvalle08 commited on

Add fallback session ID support in MetricsCollector: Introduce a mechanism to generate a console-prefixed fallback session ID when metadata is absent. Update session handling logic to utilize the fallback ID and enhance test coverage for fallback scenarios.
d9055df

dvalle08 commited on

Refactor MetricsCollector to improve latency metrics tracking: Update logic for calculating STT span duration and add support for conversation latency metrics. Enhance test coverage to validate new metrics in tracing spans.
6d5c393

dvalle08 commited on

Update Langfuse tracing configuration and enhance metrics collection: Increase trace finalize timeout in .env.example and settings.py. Add support for speech created events in MetricsCollector to capture assistant text. Refactor metrics handling to include additional latency metrics and improve test coverage for speech handling scenarios.
0146898

dvalle08 commited on

Enhance Langfuse tracing functionality: Add new configuration options for trace timeouts and maximum pending tasks in .env.example and settings.py. Update MetricsCollector to handle assistant text finalization and improve trace task management. Refactor agent logic to ensure accurate trace status reporting and enhance test coverage for tracing behavior.
0e98d54

dvalle08 commited on

Add Langfuse tracing support and enhance agent dispatch logic: Introduce optional Langfuse tracing configuration in .env.example and settings.py. Update agent and metrics collector to handle Langfuse traces per user turn. Refactor agent dispatch logic to ensure proper agent management and session metadata handling in the Streamlit app. Enhance UI to display session and trace information.
63d722c

dvalle08 commited on

Enhance Pocket TTS configuration and update documentation: Add new Pocket TTS settings to .env.example, including voice and sample rate options. Update README to reflect new features and improvements in Pocket TTS, including streaming synthesis capabilities and error handling. Refactor Pocket TTS class to streamline voice loading and improve error management during initialization.
3b7cc65

dvalle08 commited on

update git ignore
b4dbaca

dvalle08 commited on

Add demo GIF to README for GitHub
6027cc4

dvalle08 commited on

Configure GIF tracking for LFS/Xet
5b3c211

dvalle08 commited on

update README
19a3d35

dvalle08 commited on

Update demo GIF link
7b33ce1

dvalle08 commited on

Add demo GIF for project visualization
7e403e0

dvalle08 commited on

Refactor .gitignore and enhance Pocket TTS and Moonshine STT: Simplify .gitignore by removing unnecessary entries and adding environment-specific files. Update Pocket TTS to use a configurable sample rate and replace UUID with shortuuid for request IDs. Modify Moonshine STT to use NotGivenOr for language parameter and update stream class inheritance for better clarity.
5e32359

dvalle08 commited on

Implement speech-to-text provider selection and configuration: Update environment settings to support both Moonshine and NVIDIA STT providers, refactor STT initialization logic in the agent, and enhance footer generation in the Streamlit app for improved user experience. Update dependencies and settings management for better flexibility in model selection.
0bfc688

dvalle08 commited on

Add model file download step in start.sh
bb3cb6f

dvalle08 commited on

Add README.md for project documentation and update Dockerfile to include it.
40f73fa

dvalle08 commited on

Update Dockerfile for Python 3.12 compatibility: Modify base image, add start.sh script, and adjust entrypoint for improved application startup.
0bac71a

dvalle08 commited on

Refactor Streamlit app layout and enhance UI styling: Update page configuration for a wider layout, improve header visibility, and apply new CSS styles for better user experience. Adjust audio visualization in JavaScript for improved responsiveness and aesthetics.
1ec6fec

dvalle08 commited on

implement LLM provider selection and configuration: Update environment settings to support HuggingFace alongside NVIDIA, refactor LLM initialization logic in the agent, and enhance settings management for improved flexibility in model selection.
090f2a4

dvalle08 commited on

Enhance metrics tracking and visualization: Integrate live and average metrics display in the UI, update JavaScript for metrics handling, and improve audio synthesis logging in Pocket TTS. Adjust Streamlit app for better component height and scrolling.
03973b2

dvalle08 commited on

Enhance LiveKit integration: Add audio input and VAD configurations, update settings, and improve Streamlit app for better agent dispatch and error handling.
f70205c

dvalle08 commited on

Update Python version requirement to 3.12, remove deprecated .python-version file, and modify dependencies in pyproject.toml and uv.lock for compatibility with new version.
7ee632b

dvalle08 commited on

Add LiveKit agent dispatch functionality and update settings for agent configuration. Enhance Streamlit app to dispatch agent upon room token creation.
1bf5975

dvalle08 commited on

Update environment configuration for LiveKit integration, modify Dockerfile for Python version compatibility, and enhance settings management with LiveKit parameters.
5ec72cd

dvalle08 commited on

Refactor Open Voice Agent: Transition to Hatch for build system, restructure agent components, and streamline conversation graph
9af190b

dvalle08 commited on

Refactor Pocket TTS plugin to support configurable output sample rates, enhance audio synthesis process, and improve logging for chunk generation and error handling.
ffad511

dvalle08 commited on

Add Pocket TTS plugin with configuration settings and integration into LLMFactory
11c8a27

dvalle08 commited on

project documentation and setup instructions
af17212

dvalle08 commited on