(effort: ThinkingEffort)
| 196 | } |
| 197 | |
| 198 | async setThinking(effort: ThinkingEffort): Promise<void> { |
| 199 | this.ensureOpen(); |
| 200 | const normalized = normalizeRequiredString( |
| 201 | effort, |
| 202 | 'Session thinking effort cannot be empty', |
| 203 | ErrorCodes.SESSION_THINKING_EMPTY, |
| 204 | ); |
| 205 | await this.rpc.setThinking({ sessionId: this.id, effort: normalized }); |
| 206 | } |
| 207 | |
| 208 | async setPermission(mode: PermissionMode): Promise<void> { |
| 209 | this.ensureOpen(); |
no test coverage detected