Fix/realtime#43
Merged
Merged
Conversation
- Added WebSocketConfig class to manage WebSocket connection limits from agentflow.json. - Introduced a connection guard for WebSocket endpoints to enforce global rate limits and per-process connection caps. - Refactored RateLimitMiddleware to utilize a shared client key derivation for both HTTP and WebSocket connections. - Created tests for WebSocket authentication and connection guard to ensure proper functionality and error handling. - Enhanced GraphService to support real-time audio sessions over WebSocket with appropriate session configuration.
… for new features
…t coverage threshold
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several important updates and documentation improvements for the Agentflow CLI, with a focus on supporting realtime (audio-to-audio) agents, clarifying versioning, and enhancing user experience. The most significant changes are grouped below.
Realtime (audio) agent support:
AudioAgentand related APIs. This includes installation instructions, API usage, lifecycle hooks, reconnection logic, and a WebSocket bridge for the API server. [1] [2] [3] [4] [5]AudioAgent,LiveInputQueue,RealtimeConfig, and new realtime event types. [1] [2] [3]Reliability and configuration improvements:
RetryConfigto skip failing model targets after repeated errors. [1] [2]User experience enhancements:
agentflow skillscommand, instructing users to restart their agent/editor to load newly installed skills.Versioning and release process:
pyproject.toml,CLI_VERSION, andagentflow_cli.__version__. Documentation is updated to reflect this. [1] [2].github/workflows/release.yml) to automate building, verifying, and attaching release artifacts when a version tag is pushed.Legal/compliance: