(model)
| 393 | abortControllerRef.current?.abort(); |
| 394 | }, |
| 395 | onSetModel(model) { |
| 396 | const resolved = model === 'default' ? null : model ?? null; |
| 397 | setMainLoopModelOverride(resolved); |
| 398 | setAppState(prev_10 => { |
| 399 | if (prev_10.mainLoopModelForSession === resolved) return prev_10; |
| 400 | return { |
| 401 | ...prev_10, |
| 402 | mainLoopModelForSession: resolved |
| 403 | }; |
| 404 | }); |
| 405 | }, |
| 406 | onSetMaxThinkingTokens(maxTokens) { |
| 407 | const enabled = maxTokens !== null; |
| 408 | setAppState(prev_11 => { |
nothing calls this directly
no test coverage detected