Skip to content

Commit ac5042b

Browse files
committed
fix: correct access to openRouterImageApiKey in image generation settings
1 parent 1abb1bf commit ac5042b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2097,7 +2097,7 @@ export class ClineProvider
20972097
}
20982098
})(),
20992099
// Add image generation settings
2100-
openRouterImageApiKey: (stateValues as any).openRouterImageApiKey,
2100+
openRouterImageApiKey: stateValues.openRouterImageApiKey,
21012101
imageGenerationSelectedModel: stateValues.imageGenerationSelectedModel,
21022102
}
21032103
}

0 commit comments

Comments
 (0)