Spaces:
Running
Running
Commit History
-
feat: Enhance turn tracing and metrics collection
- Introduced `LANGFUSE_ASSISTANT_TEXT_GRACE_TIMEOUT_MS` in `.env.example` and `settings.py` to manage the grace period for waiting on assistant text before finalizing traces. - Refactored `MetricsCollector` and `TurnTracer` to support new metrics and improve handling of user utterances and assistant text sources. - Updated `PocketTTS` initialization to streamline parameter handling. - Enhanced tests to validate the new features and ensure proper functionality of the updated tracing and metrics collection mechanisms.04178a2
-
feat: Introduce MCP connection timeout handling and enhance configuration
- Added `MCP_CONN_TIMEOUT_SEC` setting to manage timeout for MCP tool requests in `settings.py`. - Updated `.env.example` to include MCP timeout configuration. - Enhanced `LLMRuntimeConfig` and `ConfiguredMCPServerHTTP` to utilize the new MCP timeout setting. - Implemented error handling for MCP tool timeouts and unavailability, providing user guidance in case of failures. - Updated assistant instructions to reflect new behavior regarding tool retries after failures. - Enhanced tests to validate MCP timeout handling and ensure proper functionality of the new settings.8193c41
-
feat: Implement NVIDIA TTS stream patch for improved synthesis handling
- Added a patch to the NVIDIA TTS stream to enhance metrics and shutdown handling until LiveKit resolves the underlying issues. - Refactored the `_run` method of the NVIDIA TTS stream to support asynchronous processing and improved error handling during synthesis. - Updated the TTS factory to apply the patch when creating an NVIDIA TTS instance. - Enhanced tests to verify the application of the patch and ensure proper functionality of the NVIDIA TTS provider.9fbd33c -
feat: Add Deepgram STT provider support and enhance configuration options
- Introduced Deepgram as a new STT provider in `STTSettings`, including settings for model ID and language. - Updated `.env.example` and `README.md` to document the new Deepgram STT settings and their usage. - Enhanced the assistant's configuration summary to include details for the Deepgram STT provider. - Refactored the STT factory to support initialization of Deepgram STT engines, with appropriate logging for configuration. - Added tests to validate the integration of Deepgram STT and ensure proper handling of settings across different scenarios.c394e23 -
feat: Add NVIDIA TTS provider support and enhance configuration options
- Introduced NVIDIA as a new TTS provider in `VoiceSettings`, including settings for API key, voice, language code, server, function ID, and SSL usage. - Updated `.env.example` and `README.md` to document the new NVIDIA TTS settings and their usage. - Enhanced the assistant's configuration summary to include details for the NVIDIA TTS provider. - Refactored the TTS factory to support initialization of NVIDIA TTS engines, with appropriate logging for configuration. - Added tests to validate the integration of NVIDIA TTS and ensure proper handling of settings across different scenarios.6e34c93 -
feat: Add support for Deepgram TTS provider and related configurations
- Introduced `TTS_PROVIDER` and `DEEPGRAM_API_KEY` settings in `VoiceSettings` to support Deepgram as a TTS option. - Updated `.env.example` to document the new TTS provider settings and their usage. - Refactored the assistant's configuration summary to include details for the selected TTS provider. - Enhanced session management to utilize the new TTS factory for creating TTS engines. - Added tests to validate the integration of Deepgram and ensure proper handling of TTS settings.9b5c112 -
feat: Introduce MCP startup greeting timeout and PocketTTS connection timeout settings
- Added `MCP_STARTUP_GREETING_TIMEOUT_SEC` to `LLMSettings` and `VoiceSettings` for controlling the startup greeting interruption behavior. - Introduced `POCKET_TTS_CONN_TIMEOUT_SEC` to define the timeout for PocketTTS synthesis attempts. - Updated `.env.example` and `README.md` to document the new timeout settings and their intended usage. - Refactored session management to utilize the new timeout settings for improved control over greeting and TTS behavior. - Enhanced tests to validate the new timeout configurations and ensure proper functionality.62404fa -
refactor: Consolidate LLM runtime configuration using LLMSettings
- Refactored the LLM runtime initialization to utilize a single LLMSettings object, simplifying parameter management. - Updated the assistant instructions to promote concise responses and clarify tool usage. - Enhanced test cases to validate the new LLMSettings integration and ensure proper functionality across different scenarios.1641cad -
feat: Add support for extra MCP server URLs and enhance assistant instructions
- Introduced to allow configuration of additional MCP servers in and settings. - Updated to document the new configuration option and its usage. - Enhanced the assistant's instructions to include a summary of the current configuration, improving user awareness of the system setup. - Implemented a new function to resolve and deduplicate MCP server URLs. - Added tests to validate the new functionality and ensure proper handling of MCP server configurations.6febd52
-
feat: Update LLM runtime configuration and tests for thinking behavior
5e3ba57 -
feat: Introduce turn pipeline summary and enhance tool execution metrics
- Added a new method to publish a detailed turn pipeline summary, including phases and tool execution metrics.0a97994
-
feat: Update Ollama configuration and validation for cloud usage
- Enhanced .env.example and README.md to include examples for using Ollama Cloud with OpenAI-compatible endpoints. - Implemented validation in llm_runtime.py to prevent the use of ':cloud' aliases with the Ollama Cloud endpoint. - Updated default LLM provider to 'ollama' in settings.py and adjusted default model to 'qwen2.5:7b'. - Added tests to ensure proper rejection of invalid model configurations for Ollama Cloud.0167890
-
feat: Add post-tool response timeout and enhance error handling in channel metrics
d0f8e17 -
refactor: Restructure agent components and remove unused files
- Updated directory structure in README to reflect new organization of agent components. - Refactored imports in to align with new module paths. - Removed obsolete files related to channel metrics, turn tracing, metrics collection, LLM runtime, STT factory, and tool feedback, streamlining the codebase. - Enhanced clarity and maintainability by consolidating related functionalities into dedicated directories.a1d8504