Skip to content

Python SDK v0.1.30 incompatible with CLI v1.0.2 - protocol version mismatch #703

@mayankagg9722

Description

@mayankagg9722

github-copilot-sdk v0.1.30 (latest on PyPI) is incompatible with github/copilot CLI v1.0.2 (latest on npm).

Error:
SDK protocol version mismatch: SDK expects version 2, but server reports version 3.
Please update your SDK or server to ensure compatibility.

Versions:

Python SDK: github-copilot-sdk==0.1.30 (SDK_PROTOCOL_VERSION = 2 in sdk_protocol_version.py)
Copilot CLI: @github/copilot@1.0.2 (reports protocol version 3)
OS: Windows
Python: 3.13
Root cause: The CLI v1.0.x bumped the protocol to v3, but copilot/sdk_protocol_version.py in the Python SDK still hardcodes SDK_PROTOCOL_VERSION = 2, causing _verify_protocol_version() in client.py to reject the connection.

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