@@ -63,6 +63,7 @@ type GlobalStateKey =
6363 | "lmStudioBaseUrl"
6464 | "anthropicBaseUrl"
6565 | "azureApiVersion"
66+ | "includeStreamOptions"
6667 | "openRouterModelId"
6768 | "openRouterModelInfo"
6869 | "openRouterUseMiddleOutTransform"
@@ -421,6 +422,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
421422 geminiApiKey,
422423 openAiNativeApiKey,
423424 azureApiVersion,
425+ includeStreamOptions,
424426 openRouterModelId,
425427 openRouterModelInfo,
426428 openRouterUseMiddleOutTransform,
@@ -448,6 +450,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
448450 await this . storeSecret ( "openAiNativeApiKey" , openAiNativeApiKey )
449451 await this . storeSecret ( "deepSeekApiKey" , message . apiConfiguration . deepSeekApiKey )
450452 await this . updateGlobalState ( "azureApiVersion" , azureApiVersion )
453+ await this . updateGlobalState ( "includeStreamOptions" , includeStreamOptions )
451454 await this . updateGlobalState ( "openRouterModelId" , openRouterModelId )
452455 await this . updateGlobalState ( "openRouterModelInfo" , openRouterModelInfo )
453456 await this . updateGlobalState ( "openRouterUseMiddleOutTransform" , openRouterUseMiddleOutTransform )
@@ -1163,6 +1166,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
11631166 openAiNativeApiKey ,
11641167 deepSeekApiKey ,
11651168 azureApiVersion ,
1169+ includeStreamOptions ,
11661170 openRouterModelId ,
11671171 openRouterModelInfo ,
11681172 openRouterUseMiddleOutTransform ,
@@ -1208,6 +1212,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
12081212 this . getSecret ( "openAiNativeApiKey" ) as Promise < string | undefined > ,
12091213 this . getSecret ( "deepSeekApiKey" ) as Promise < string | undefined > ,
12101214 this . getGlobalState ( "azureApiVersion" ) as Promise < string | undefined > ,
1215+ this . getGlobalState ( "includeStreamOptions" ) as Promise < boolean | undefined > ,
12111216 this . getGlobalState ( "openRouterModelId" ) as Promise < string | undefined > ,
12121217 this . getGlobalState ( "openRouterModelInfo" ) as Promise < ModelInfo | undefined > ,
12131218 this . getGlobalState ( "openRouterUseMiddleOutTransform" ) as Promise < boolean | undefined > ,
@@ -1270,6 +1275,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
12701275 openAiNativeApiKey,
12711276 deepSeekApiKey,
12721277 azureApiVersion,
1278+ includeStreamOptions,
12731279 openRouterModelId,
12741280 openRouterModelInfo,
12751281 openRouterUseMiddleOutTransform,
0 commit comments