open-voice-agent / src /core /settings.py

Commit History

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

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

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

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

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

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

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 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

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

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

dvalle08 commited on

Add Moonshine STT Plugin using ONNX Runtime
76b1422

dvalle08 commited on

Refactor LLM and voice provider settings, enhance configuration options, and update dependencies
a16f712

dvalle08 commited on

Add initial test suite for LLM providers
5cb235d

dvalle08 commited on

refactor code structure
369ffd3

dvalle08 commited on

Refactor voice provider architecture to support NVIDIA integration, update environment configuration, and remove obsolete services. Enhance dependency management in pyproject.toml and .gitignore.
65b597c

dvalle08 commited on

implement core services and dependencies
81dd251

dvalle08 commited on

implement main entry point for Open Voice Agent with CLI support for running FastAPI, Streamlit, or both. Enhance Streamlit UI for audio processing and integrate WebSocket communication. Update dependencies in pyproject.toml and remove requirements.txt.
affeafa

dvalle08 commited on