Skip to content

Commit 6b331aa

Browse files
committed
fix
1 parent 533e56d commit 6b331aa

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,12 +1365,6 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
13651365
await this.updateGlobalState("requestDelaySeconds", message.value ?? 5)
13661366
await this.postStateToWebview()
13671367
break
1368-
case "rateLimitSeconds":
1369-
// Rate limit seconds is now part of the API configuration
1370-
// and will be saved when the API configuration is saved
1371-
await this.updateGlobalState("rateLimitSeconds", message.value ?? 0)
1372-
await this.postStateToWebview()
1373-
break
13741368
case "writeDelayMs":
13751369
await this.updateGlobalState("writeDelayMs", message.value)
13761370
await this.postStateToWebview()

webview-ui/src/context/ExtensionStateContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
129129
enableMcpServerCreation: true,
130130
alwaysApproveResubmit: false,
131131
requestDelaySeconds: 5,
132-
rateLimitSeconds: 0, // Minimum time between successive requests (0 = disabled)
132+
// rateLimitSeconds is now part of apiConfiguration
133133
currentApiConfigName: "default",
134134
listApiConfigMeta: [],
135135
mode: defaultModeSlug,

0 commit comments

Comments
 (0)