Spaces:
Running
Running
Commit History
-
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: 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