Skip to content

Commit 23ac522

Browse files
ScottN-PVclaude
andcommitted
fix(web): offer Settings only when the failure names its setting
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 56037bf commit 23ac522

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/GitActionsControl.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ export default function GitActionsControl({
13741374
title: "Action failed",
13751375
description: error instanceof Error ? error.message : "An error occurred.",
13761376
timeout: errorToastTiming.timeout,
1377-
...(isTextGenerationError(error) && activeEnvironmentId !== null && gitCwd !== null
1377+
...(modelSetting !== undefined && activeEnvironmentId !== null && gitCwd !== null
13781378
? {
13791379
actionProps: {
13801380
children: "Settings",

0 commit comments

Comments
 (0)