()
| 623 | } |
| 624 | |
| 625 | #rpc(): ServerRpc { |
| 626 | const r = this.#getServerRpc(); |
| 627 | if (!r) { |
| 628 | throw new Error("Copilot request response used after RPC connection closed."); |
| 629 | } |
| 630 | return r; |
| 631 | } |
| 632 | } |
| 633 | |
| 634 | const FORBIDDEN_REQUEST_HEADERS = new Set([ |
no outgoing calls
no test coverage detected