Skip to content

SimliClient: Unexpected disconnections need robust handling and reconnection strategy #1

Description

@TalalBazerbachi

Issue Description

During conversations, the SimliClient occasionally disconnects unexpectedly, but the application continues running without proper error handling or reconnection attempts. This creates a degraded user experience as the avatar stops responding while other components (like OpenAI's Realtime API) continue to function.

Current Behavior

  • SimliClient disconnects randomly during active conversations
  • No automatic reconnection attempt is made
  • No clear error messaging to the user
  • Other connected services (like OpenAI Realtime API) continue running, creating an inconsistent state

Expected Behavior

  • Proper error handling when disconnection occurs
  • Clear notification to the user about connection status
  • Automatic reconnection attempts OR graceful shutdown of all connected services
  • Option to preserve conversation context during reconnection
  • Synchronization between SimliClient and other services (e.g., OpenAI Realtime API)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions