Skip to content

Commit 742b010

Browse files
committed
create a new profile when being redirected from requesty
1 parent a79c3d0 commit 742b010

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,9 @@ export class ClineProvider
14251425
requestyModelId: apiConfiguration?.requestyModelId || requestyDefaultModelId,
14261426
}
14271427

1428-
await this.upsertProviderProfile(currentApiConfigName, newConfiguration)
1428+
// Create a new profile with a unique name to trigger settings refresh
1429+
const newProfileName = currentApiConfigName === "default" ? "requesty-oauth" : currentApiConfigName
1430+
await this.upsertProviderProfile(newProfileName, newConfiguration)
14291431
}
14301432

14311433
// Task history

0 commit comments

Comments
 (0)