Skip to content

Conversation

@aligokalppeker
Copy link
Contributor

@aligokalppeker aligokalppeker commented Jan 6, 2026

This PR provides web socket connection configurability for the real-time bot communication. Fixes the enhancement request #2234 i have issued

@aligokalppeker
Copy link
Contributor Author

@seratch, can you please review this ? thx

@seratch seratch changed the title Feature/realtime connection features Add options for customizing the way to establish a connection via websockets library Jan 6, 2026
Copy link
Member

@seratch seratch left a 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):
Copy link
Member

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

Copy link
Contributor Author

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 seratch marked this pull request as draft January 6, 2026 08:59
@seratch seratch added the enhancement New feature or request label Jan 6, 2026
@aligokalppeker
Copy link
Contributor Author

can you add unit tests for covering the scenario?

@seratch I have added the unit tests covering the changes to the related parameters. Please review.

@aligokalppeker
Copy link
Contributor Author

@seratch I have added test suites that support the cases and also test the parameter updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature:realtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants