@@ -22,16 +22,11 @@ public void FieldRoundtrip_Works()
2222 {
2323 Model = new Sessions ::ModelConfig ( )
2424 {
25- ModelName = "openai/gpt-5-nano " ,
25+ ModelName = "openai/gpt-5.4-mini " ,
2626 ApiKey = "sk-some-openai-api-key" ,
2727 BaseUrl = "https://api.openai.com/v1" ,
28- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
28+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
2929 Provider = Sessions ::ModelConfigProvider . OpenAI ,
30- ProviderOptions =
31- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
32- "us-east-1"
33- ) ,
34- SkipApiKeyFallback = true ,
3530 } ,
3631 Timeout = 30000 ,
3732 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -57,16 +52,11 @@ public void FieldRoundtrip_Works()
5752 {
5853 Model = new Sessions ::ModelConfig ( )
5954 {
60- ModelName = "openai/gpt-5-nano " ,
55+ ModelName = "openai/gpt-5.4-mini " ,
6156 ApiKey = "sk-some-openai-api-key" ,
6257 BaseUrl = "https://api.openai.com/v1" ,
63- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
58+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
6459 Provider = Sessions ::ModelConfigProvider . OpenAI ,
65- ProviderOptions =
66- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
67- "us-east-1"
68- ) ,
69- SkipApiKeyFallback = true ,
7060 } ,
7161 Timeout = 30000 ,
7262 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -139,16 +129,11 @@ public void OptionalNullableParamsUnsetAreNotSet_Works()
139129 {
140130 Model = new Sessions ::ModelConfig ( )
141131 {
142- ModelName = "openai/gpt-5-nano " ,
132+ ModelName = "openai/gpt-5.4-mini " ,
143133 ApiKey = "sk-some-openai-api-key" ,
144134 BaseUrl = "https://api.openai.com/v1" ,
145- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
135+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
146136 Provider = Sessions ::ModelConfigProvider . OpenAI ,
147- ProviderOptions =
148- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
149- "us-east-1"
150- ) ,
151- SkipApiKeyFallback = true ,
152137 } ,
153138 Timeout = 30000 ,
154139 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -182,16 +167,11 @@ public void OptionalNullableParamsSetToNullAreSetToNull_Works()
182167 {
183168 Model = new Sessions ::ModelConfig ( )
184169 {
185- ModelName = "openai/gpt-5-nano " ,
170+ ModelName = "openai/gpt-5.4-mini " ,
186171 ApiKey = "sk-some-openai-api-key" ,
187172 BaseUrl = "https://api.openai.com/v1" ,
188- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
173+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
189174 Provider = Sessions ::ModelConfigProvider . OpenAI ,
190- ProviderOptions =
191- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
192- "us-east-1"
193- ) ,
194- SkipApiKeyFallback = true ,
195175 } ,
196176 Timeout = 30000 ,
197177 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -278,16 +258,11 @@ public void CopyConstructor_Works()
278258 {
279259 Model = new Sessions ::ModelConfig ( )
280260 {
281- ModelName = "openai/gpt-5-nano " ,
261+ ModelName = "openai/gpt-5.4-mini " ,
282262 ApiKey = "sk-some-openai-api-key" ,
283263 BaseUrl = "https://api.openai.com/v1" ,
284- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
264+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
285265 Provider = Sessions ::ModelConfigProvider . OpenAI ,
286- ProviderOptions =
287- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
288- "us-east-1"
289- ) ,
290- SkipApiKeyFallback = true ,
291266 } ,
292267 Timeout = 30000 ,
293268 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -378,16 +353,11 @@ public void FieldRoundtrip_Works()
378353 {
379354 Model = new Sessions ::ModelConfig ( )
380355 {
381- ModelName = "openai/gpt-5-nano " ,
356+ ModelName = "openai/gpt-5.4-mini " ,
382357 ApiKey = "sk-some-openai-api-key" ,
383358 BaseUrl = "https://api.openai.com/v1" ,
384- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
359+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
385360 Provider = Sessions ::ModelConfigProvider . OpenAI ,
386- ProviderOptions =
387- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
388- "us-east-1"
389- ) ,
390- SkipApiKeyFallback = true ,
391361 } ,
392362 Timeout = 30000 ,
393363 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -406,15 +376,11 @@ public void FieldRoundtrip_Works()
406376
407377 Sessions ::Model expectedModel = new Sessions ::ModelConfig ( )
408378 {
409- ModelName = "openai/gpt-5-nano " ,
379+ ModelName = "openai/gpt-5.4-mini " ,
410380 ApiKey = "sk-some-openai-api-key" ,
411381 BaseUrl = "https://api.openai.com/v1" ,
412- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
382+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
413383 Provider = Sessions ::ModelConfigProvider . OpenAI ,
414- ProviderOptions = new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
415- "us-east-1"
416- ) ,
417- SkipApiKeyFallback = true ,
418384 } ;
419385 double expectedTimeout = 30000 ;
420386 Dictionary < string , Sessions ::Variable > expectedVariables = new ( )
@@ -449,16 +415,11 @@ public void SerializationRoundtrip_Works()
449415 {
450416 Model = new Sessions ::ModelConfig ( )
451417 {
452- ModelName = "openai/gpt-5-nano " ,
418+ ModelName = "openai/gpt-5.4-mini " ,
453419 ApiKey = "sk-some-openai-api-key" ,
454420 BaseUrl = "https://api.openai.com/v1" ,
455- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
421+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
456422 Provider = Sessions ::ModelConfigProvider . OpenAI ,
457- ProviderOptions =
458- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
459- "us-east-1"
460- ) ,
461- SkipApiKeyFallback = true ,
462423 } ,
463424 Timeout = 30000 ,
464425 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -491,16 +452,11 @@ public void FieldRoundtripThroughSerialization_Works()
491452 {
492453 Model = new Sessions ::ModelConfig ( )
493454 {
494- ModelName = "openai/gpt-5-nano " ,
455+ ModelName = "openai/gpt-5.4-mini " ,
495456 ApiKey = "sk-some-openai-api-key" ,
496457 BaseUrl = "https://api.openai.com/v1" ,
497- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
458+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
498459 Provider = Sessions ::ModelConfigProvider . OpenAI ,
499- ProviderOptions =
500- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
501- "us-east-1"
502- ) ,
503- SkipApiKeyFallback = true ,
504460 } ,
505461 Timeout = 30000 ,
506462 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -526,15 +482,11 @@ public void FieldRoundtripThroughSerialization_Works()
526482
527483 Sessions ::Model expectedModel = new Sessions ::ModelConfig ( )
528484 {
529- ModelName = "openai/gpt-5-nano " ,
485+ ModelName = "openai/gpt-5.4-mini " ,
530486 ApiKey = "sk-some-openai-api-key" ,
531487 BaseUrl = "https://api.openai.com/v1" ,
532- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
488+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
533489 Provider = Sessions ::ModelConfigProvider . OpenAI ,
534- ProviderOptions = new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
535- "us-east-1"
536- ) ,
537- SkipApiKeyFallback = true ,
538490 } ;
539491 double expectedTimeout = 30000 ;
540492 Dictionary < string , Sessions ::Variable > expectedVariables = new ( )
@@ -569,16 +521,11 @@ public void Validation_Works()
569521 {
570522 Model = new Sessions ::ModelConfig ( )
571523 {
572- ModelName = "openai/gpt-5-nano " ,
524+ ModelName = "openai/gpt-5.4-mini " ,
573525 ApiKey = "sk-some-openai-api-key" ,
574526 BaseUrl = "https://api.openai.com/v1" ,
575- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
527+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
576528 Provider = Sessions ::ModelConfigProvider . OpenAI ,
577- ProviderOptions =
578- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
579- "us-east-1"
580- ) ,
581- SkipApiKeyFallback = true ,
582529 } ,
583530 Timeout = 30000 ,
584531 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -659,16 +606,11 @@ public void CopyConstructor_Works()
659606 {
660607 Model = new Sessions ::ModelConfig ( )
661608 {
662- ModelName = "openai/gpt-5-nano " ,
609+ ModelName = "openai/gpt-5.4-mini " ,
663610 ApiKey = "sk-some-openai-api-key" ,
664611 BaseUrl = "https://api.openai.com/v1" ,
665- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
612+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
666613 Provider = Sessions ::ModelConfigProvider . OpenAI ,
667- ProviderOptions =
668- new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
669- "us-east-1"
670- ) ,
671- SkipApiKeyFallback = true ,
672614 } ,
673615 Timeout = 30000 ,
674616 Variables = new Dictionary < string , Sessions ::Variable > ( )
@@ -698,15 +640,11 @@ public void ConfigValidationWorks()
698640 {
699641 Sessions ::Model value = new Sessions ::ModelConfig ( )
700642 {
701- ModelName = "openai/gpt-5-nano " ,
643+ ModelName = "openai/gpt-5.4-mini " ,
702644 ApiKey = "sk-some-openai-api-key" ,
703645 BaseUrl = "https://api.openai.com/v1" ,
704- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
646+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
705647 Provider = Sessions ::ModelConfigProvider . OpenAI ,
706- ProviderOptions = new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
707- "us-east-1"
708- ) ,
709- SkipApiKeyFallback = true ,
710648 } ;
711649 value . Validate ( ) ;
712650 }
@@ -723,15 +661,11 @@ public void ConfigSerializationRoundtripWorks()
723661 {
724662 Sessions ::Model value = new Sessions ::ModelConfig ( )
725663 {
726- ModelName = "openai/gpt-5-nano " ,
664+ ModelName = "openai/gpt-5.4-mini " ,
727665 ApiKey = "sk-some-openai-api-key" ,
728666 BaseUrl = "https://api.openai.com/v1" ,
729- Headers = new Dictionary < string , string > ( ) { { "X-Custom-Header " , "value " } } ,
667+ Headers = new Dictionary < string , string > ( ) { { "foo " , "string " } } ,
730668 Provider = Sessions ::ModelConfigProvider . OpenAI ,
731- ProviderOptions = new Sessions ::ModelConfigProviderOptionsBedrockApiKeyProviderOptions (
732- "us-east-1"
733- ) ,
734- SkipApiKeyFallback = true ,
735669 } ;
736670 string element = JsonSerializer . Serialize ( value , ModelBase . SerializerOptions ) ;
737671 var deserialized = JsonSerializer . Deserialize < Sessions ::Model > (
0 commit comments