Skip to content

Conversation

agentfarmx[bot]
Copy link
Contributor

@agentfarmx agentfarmx bot commented Mar 1, 2025

agent_instance: tripathi456_gvisor-based-python-repl_issue_7_fe6cf8ec Tries to fix: #7

🔌 Added WebSocket Support to Python REPL Server

This PR adds WebSocket connectivity to the gvisor-based Python REPL server, allowing clients to connect via either TCP (port 8000) or WebSocket (port 8001) based on their preference.

  • Enhanced: Server to support WebSocket protocol with the same session management capabilities
  • Added: WebSocket test client and documentation in README
  • Modified: Docker configuration to install websockets package and expose the WebSocket port

The implementation maintains a consistent API across both connection types while leveraging WebSocket's built-in message framing for a simpler client implementation.

@agentfarmx agentfarmx bot mentioned this pull request Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ws connection

0 participants