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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seratch, can you please look at the PR and make it progress? There should not be much work left to be done here.

@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.

@aligokalppeker aligokalppeker marked this pull request as ready for review January 19, 2026 11:41
@github-actions github-actions bot removed enhancement New feature or request feature:realtime labels Jan 20, 2026
@seratch seratch added this to the 0.7.x milestone Jan 20, 2026
@seratch seratch added the enhancement New feature or request label Jan 20, 2026
@seratch seratch changed the title Add options for customizing the way to establish a connection via websockets library Add WebSocket custom options to OpenAIRealtimeWebSocketModel Jan 20, 2026
@seratch seratch marked this pull request as draft January 20, 2026 09:56
@github-actions github-actions bot removed enhancement New feature or request feature:realtime labels Jan 20, 2026
@aligokalppeker
Copy link
Contributor Author

@seratch applied your comments, please take a look

@aligokalppeker aligokalppeker marked this pull request as ready for review January 20, 2026 19:33
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7c27b4375

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@seratch seratch merged commit 038c84e into openai:main Jan 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants