-
Notifications
You must be signed in to change notification settings - Fork 831
Closed
Labels
Description
docs state that it supports python3.8+
however, when using python3.8 import fails with: TypeError: 'type' object is not subscriptable
after an Ai discussion, basically the issue seems to be coming from
File: copilot-sdk/python/copilot/client.py
Line 137: def _parse_cli_url(self, url: str) -> tuple[str, int]:
Error: TypeError: 'type' object is not subscriptable
File: copilot-sdk/python/copilot/types.py
Line 89: parameters: Dict[str, Any] | None = None
Line 188: tools: NotRequired[List[str] | None]
Line 204: available_tools: list[str]
Line 206: excluded_tools: list[str]
after fixing those here to use 3.8+ compliant version, the issue seems to be fixed. source code needs accordingly
Reactions are currently unavailable