Spaces:
Running
Running
Commit History
-
feat: Enhance metrics collection and assistant item correlation
- Added support for correlating conversation items with speech items in the `MetricsCollector`, allowing for improved tracking of assistant responses. - Introduced new data classes `AssistantItemSpeechBinding` and `PendingAssistantItemEvent` to manage the relationship between chat items and speech IDs. - Updated methods in `MetricsCollector` to handle the new item correlation logic, including adjustments to item addition and speech handling. - Enhanced `TurnTracer` to support new flags for tracking speech completion and assistant text observations. - Added unit tests to validate the new correlation features and ensure proper functionality of the updated metrics collection mechanisms.6549fd6
-
codex fixex
7fdafe4
-
feat: Enhance assistant instructions and footer display for LLM providers
- Updated assistant instructions to include the current date and clarify capabilities and limitations. - Modified footer display in the Streamlit app to show LLM provider names alongside their models for better user clarity. - Added tests to ensure the new assistant instructions and footer display functionality work as intended.a24d5f0
-
feat: Enhance metrics collection with event timestamps for assistant interactions
- Added event_created_at and item_created_at parameters to track timestamps for conversation items in MetricsCollector. - Updated _on_assistant_text and related methods to utilize these timestamps for improved tracing accuracy. - Refactored text extraction logic to return both the latest assistant text and its creation timestamp. - Introduced tests to validate the handling of delayed pre-tool assistant events and their timestamps.758164b -
feat: Enhance assistant behavior and tool feedback mechanisms
- Updated assistant instructions to prevent tool calls for self-description requests. - Introduced allowed_tool_names parameter to control tool usage in pre-tool feedback. - Enhanced MetricsCollector and TurnTracer to support tool step announcements and error handling. - Added tests to validate new assistant instructions and tool feedback behavior.c13fca7
-
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