Skip to content

Python SDK is not compatible with latest Copilot-CLI #1454

Description

@0xba1a

I'm getting following exception while connecting the SDK to a remotely running CLI.

ValueError: invalid literal for int() with base 10: '2026-05-27T13:08:01.308Z'

Analysis from Copilot -

The SDK's [PingResponse.from_dict()] calls [int(timestamp)] on the [timestamp] field from the server's ping response. The copilot-cli server running inside your container is returning the timestamp as an ISO 8601 string ("2026-05-27T12:56:21.217Z") instead of a Unix epoch integer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions