-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add options for customizing the way to establish a connection via websockets library #2264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add options for customizing the way to establish a connection via websockets library #2264
Conversation
|
@seratch, can you please review this ? thx |
seratch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add unit tests for covering the scenario?
| pass | ||
|
|
||
|
|
||
| class TransportConfig(TypedDict): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these properties are websockets library specific, so I am thinking of a better naming. I am focusing on other stuff (especially making the HITL successful) so let me hold off deciding details here for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Understood, waiting for it. One note, these are fairly common concepts that also exist in other WebSocket libraries, as keeping alive through pings is a WebSocket standard.
@seratch I have added the unit tests covering the changes to the related parameters. Please review. |
|
@seratch I have added test suites that support the cases and also test the parameter updates. |
This PR provides web socket connection configurability for the real-time bot communication. Fixes the enhancement request #2234 i have issued