(sessionId: string, model: string | null)
| 498 | } |
| 499 | |
| 500 | async setModel(sessionId: string, model: string | null): Promise<void> { |
| 501 | await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/model`, { |
| 502 | method: 'POST', |
| 503 | body: JSON.stringify({ model }) |
| 504 | }) |
| 505 | } |
| 506 | |
| 507 | async setModelReasoningEffort(sessionId: string, modelReasoningEffort: string | null): Promise<void> { |
| 508 | await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/model-reasoning-effort`, { |