Commit 1dfd439
fix: add on_permission_request handler for SDK >= 0.1.28
SDK v0.1.28 requires on_permission_request when creating sessions.
Uses try/except for backward compatibility with older SDK versions.
Refs: github/copilot-sdk#509, #554
Co-authored-by: GitHub Copilot <copilot@github.com>1 parent 3ed36cf commit 1dfd439
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
485 | 498 | | |
486 | 499 | | |
487 | 500 | | |
| |||
0 commit comments