File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export class AutocompleteProvider {
5858
5959 // Settings Management
6060 private loadSettings ( ) {
61- const state = ContextProxy . instance ? .getValues ?. ( )
61+ const state = ContextProxy . instance . getValues ( )
6262 return state . ghostServiceSettings
6363 }
6464
@@ -71,7 +71,7 @@ export class AutocompleteProvider {
7171 provider : this . getCurrentProviderName ( ) ,
7272 model : this . getCurrentModelName ( ) ,
7373 }
74- await ContextProxy . instance ? .setValues ?. ( { ghostServiceSettings : settingsWithModelInfo } )
74+ await ContextProxy . instance . setValues ( { ghostServiceSettings : settingsWithModelInfo } )
7575 await this . cline . postStateToWebview ( )
7676 }
7777
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export class GhostServiceManager {
9494
9595 // Settings Management
9696 private loadSettings ( ) {
97- const state = ContextProxy . instance ? .getValues ?. ( )
97+ const state = ContextProxy . instance . getValues ( )
9898 return state . ghostServiceSettings
9999 }
100100
@@ -107,7 +107,7 @@ export class GhostServiceManager {
107107 provider : this . getCurrentProviderName ( ) ,
108108 model : this . getCurrentModelName ( ) ,
109109 }
110- await ContextProxy . instance ? .setValues ?. ( { ghostServiceSettings : settingsWithModelInfo } )
110+ await ContextProxy . instance . setValues ( { ghostServiceSettings : settingsWithModelInfo } )
111111 await this . cline . postStateToWebview ( )
112112 }
113113
You can’t perform that action at this time.
0 commit comments