Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove dead auto_restart field from SubprocessConfig
This field was defined but never read anywhere in client.py.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • Loading branch information
SteveSandersonMS and Copilot committed Mar 13, 2026
commit d9273c7d80c2a098aab96ae06f86bb9efcd7083e
1 change: 0 additions & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ CopilotClient(
- `use_stdio` (bool): Use stdio transport instead of TCP (default: True)
- `port` (int): Server port for TCP mode (default: 0 for random)
- `log_level` (str): Log level (default: "info")
- `auto_restart` (bool): Auto-restart on crash (default: True)
- `env` (dict | None): Environment variables for the CLI process
- `github_token` (str | None): GitHub token for authentication. When provided, takes priority over other auth methods.
- `use_logged_in_user` (bool | None): Whether to use logged-in user for authentication (default: True, but False when `github_token` is provided).
Expand Down
4 changes: 0 additions & 4 deletions python/copilot/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class SelectionAttachment(TypedDict):
# Configuration for CopilotClient connection modes



@dataclass
class SubprocessConfig:
"""Config for spawning a local Copilot CLI subprocess.
Expand Down Expand Up @@ -109,9 +108,6 @@ class SubprocessConfig:
log_level: LogLevel = "info"
"""Log level for the CLI process."""

auto_restart: bool = True
"""Auto-restart the CLI server if it crashes."""

env: dict[str, str] | None = None
"""Environment variables for the CLI process. ``None`` inherits the current env."""

Expand Down
Loading