| … | … | @@ -170,6 +204,7 @@ export const makeClaudeTextGeneration = Effect.fn("makeClaudeTextGeneration")(fu | |
| 207 | + | ...(yield* readLaunchSettings(operation, cwd)), | |
| 173 | 208 | disableAllHooks: true, | |
| 174 | 209 | ...(typeof thinking === "boolean" ? { alwaysThinkingEnabled: thinking } : {}), | |
| 175 | 210 | ...(fastMode ? { fastMode: true } : {}), | |
🟠 High textGeneration/ClaudeTextGeneration.ts:210
Selecting fastMode: false still sends fastMode: true when the launch settings enable it, so the request runs in fast mode despite the explicit normal-mode selection. The conditional only emits an override for true; emit the selected value whenever it is a boolean, as thinking does.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @apps/server/src/textGeneration/ClaudeTextGeneration.ts around line 210: |
| 2 | |
| 3 | Selecting `fastMode: false` still sends `fastMode: true` when the launch settings enable it, so the request runs in fast mode despite the explicit normal-mode selection. The conditional only emits an override for `true`; emit the selected value whenever it is a boolean, as `thinking` does. |