Commit 05dd60e
[python] Change
* Change `CopilotClient.__init__` to take config objects
* Improve CLI path verification in CopilotClient to use `shutil.which`
* Fix changes made in `main`
* Fix shutil.which error message showing None instead of original path
The walrus operator reassigned cli_path to None before the f-string
was evaluated, losing the original path value in the error message.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* 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>
---------
Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>CopilotClient.__init__ to take config objects (#793)1 parent b100339 commit 05dd60e
File tree
43 files changed
+461
-427
lines changed- python
- copilot
- e2e
- testharness
- test/scenarios
- auth
- byok-anthropic/python
- byok-azure/python
- byok-ollama/python
- byok-openai/python
- gh-app/python
- bundling
- app-backend-to-server/python
- app-direct-server/python
- container-proxy/python
- fully-bundled/python
- callbacks
- hooks/python
- permissions/python
- user-input/python
- modes
- default/python
- minimal/python
- prompts
- attachments/python
- reasoning-effort/python
- system-message/python
- sessions
- concurrent-sessions/python
- infinite-sessions/python
- session-resume/python
- streaming/python
- tools
- custom-agents/python
- mcp-servers/python
- no-tools/python
- skills/python
- tool-filtering/python
- tool-overrides/python
- virtual-filesystem/python
- transport
- reconnect/python
- stdio/python
- tcp/python
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+461
-427
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
88 | 86 | | |
89 | 87 | | |
90 | 88 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
| 102 | + | |
| 103 | + | |
105 | 104 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
110 | 125 | | |
| 126 | + | |
111 | 127 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
115 | 135 | | |
116 | 136 | | |
117 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| 52 | + | |
50 | 53 | | |
51 | 54 | | |
52 | 55 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
0 commit comments