File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ import { CloudServiceCallbacks } from "./types"
77import type { AuthService } from "./auth"
88import { WebAuthService , StaticTokenAuthService } from "./auth"
99import type { SettingsService } from "./SettingsService"
10- import { CloudSettingsService } from "./CloudSettingsService"
11- import { StaticSettingsService } from "./StaticSettingsService"
10+ import { SettingsService as SettingsServiceImpl } from "./SettingsService"
1211import { TelemetryClient } from "./TelemetryClient"
1312import { ShareService } from "./ShareService"
1413
@@ -55,7 +54,7 @@ export class CloudService {
5554 this . authService . on ( "logged-out" , this . authListener )
5655 this . authService . on ( "user-info" , this . authListener )
5756
58- this . settingsService = new SettingsService ( this . context , this . authService , ( ) =>
57+ this . settingsService = new SettingsServiceImpl ( this . context , this . authService ! , ( ) =>
5958 this . callbacks . stateChanged ?.( ) ,
6059 )
6160 this . settingsService . initialize ( )
Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ describe("getApiProtocol", () => {
88 expect ( getApiProtocol ( "anthropic" , "gpt-4" ) ) . toBe ( "anthropic" )
99 } )
1010
11- it ( "should return 'anthropic' for claude-code provider" , ( ) => {
12- expect ( getApiProtocol ( "claude-code" ) ) . toBe ( "anthropic" )
13- expect ( getApiProtocol ( "claude-code" , "some-model" ) ) . toBe ( "anthropic" )
14- } )
15-
1611 it ( "should return 'anthropic' for bedrock provider" , ( ) => {
1712 expect ( getApiProtocol ( "bedrock" ) ) . toBe ( "anthropic" )
1813 expect ( getApiProtocol ( "bedrock" , "gpt-4" ) ) . toBe ( "anthropic" )
You can’t perform that action at this time.
0 commit comments