File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1457,16 +1457,16 @@ export class ClineProvider
14571457 // Requesty
14581458
14591459 async handleRequestyCallback ( code : string ) {
1460- let { apiConfiguration, currentApiConfigName = "default" } = await this . getState ( )
1460+ const { apiConfiguration } = await this . getState ( )
14611461
14621462 const newConfiguration : ProviderSettings = {
14631463 ...apiConfiguration ,
14641464 apiProvider : "requesty" ,
14651465 requestyApiKey : code ,
1466- requestyModelId : apiConfiguration ?. requestyModelId || requestyDefaultModelId ,
1466+ requestyModelId : requestyDefaultModelId ,
14671467 }
14681468
1469- await this . upsertProviderProfile ( currentApiConfigName , newConfiguration )
1469+ await this . upsertProviderProfile ( "Requesty" , newConfiguration )
14701470 }
14711471
14721472 // Task history
You can’t perform that action at this time.
0 commit comments