Commit ace2ada
committed
fix: Codespaces — skip
Closes #413
- Skip auto-enabling `github-models` and `github-copilot` providers when
`CODESPACES=true` and only `GITHUB_TOKEN` is available (the Codespace
machine token lacks model-inference permissions, causing immediate 429s)
- Cap retry attempts at 5 (`RETRY_MAX_ATTEMPTS`) to prevent infinite
retry loops with 30+ minute backoff
- Replace phantom `/discover-and-add-mcps` toast with actionable message
("Ask the assistant to add them")
- Add `.devcontainer/` config (Node 22, Bun 1.3.10) for reproducible
Codespace environments
- Update docs to reference `mcp_discover` tool instead of non-existent
slash commandGITHUB_TOKEN auto-enable for github-models, cap retries, fix phantom command1 parent 59f5a8e commit ace2ada
2 files changed
Lines changed: 26 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2330 | 2330 | | |
2331 | 2331 | | |
2332 | 2332 | | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
| 2348 | + | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
2333 | 2357 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
| 96 | + | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| |||
0 commit comments