(modelId, options = {})
| 4310 | |
| 4311 | const accessInfo = session ? this.inferenceService.getAccessInfo(session) : null; |
| 4312 | if (accessInfo?.info?.stationId === stationId) { |
| 4313 | // Show warning modal (which also clears the key) |
| 4314 | await this.showBannedStationWarningModal({ |
| 4315 | stationId, |
| 4316 | reason, |
| 4317 | bannedAt, |
| 4318 | sessionId: session.id |
| 4319 | }); |
| 4320 | } |
| 4321 | }); |
| 4322 | |
| 4323 | window.addEventListener('access-verification-updated', (event) => { |
| 4324 | if (event.detail?.sessionId === this.getCurrentSession()?.id) { |
| 4325 | this.rightPanel?.loadSessionData(); |
no test coverage detected