Skip to content

Commit eb03421

Browse files
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>
1 parent 2e424ac commit eb03421

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

python/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ CopilotClient(
125125
- `use_stdio` (bool): Use stdio transport instead of TCP (default: True)
126126
- `port` (int): Server port for TCP mode (default: 0 for random)
127127
- `log_level` (str): Log level (default: "info")
128-
- `auto_restart` (bool): Auto-restart on crash (default: True)
129128
- `env` (dict | None): Environment variables for the CLI process
130129
- `github_token` (str | None): GitHub token for authentication. When provided, takes priority over other auth methods.
131130
- `use_logged_in_user` (bool | None): Whether to use logged-in user for authentication (default: True, but False when `github_token` is provided).

python/copilot/types.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ class SubprocessConfig:
109109
log_level: LogLevel = "info"
110110
"""Log level for the CLI process."""
111111

112-
auto_restart: bool = True
113-
"""Auto-restart the CLI server if it crashes."""
114-
115112
env: dict[str, str] | None = None
116113
"""Environment variables for the CLI process. ``None`` inherits the current env."""
117114

0 commit comments

Comments
 (0)