File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ namespace OpenAI.Examples;
88
99public partial class ChatExamples
1010{
11+ [ Test ]
1112 public void Example10_AdditionalProperties ( )
1213 {
1314 ChatClient client = new ( model : "gpt-5" , apiKey : Environment . GetEnvironmentVariable ( "OPENAI_API_KEY" ) ) ;
@@ -18,9 +19,7 @@ public void Example10_AdditionalProperties()
1819 ChatCompletionOptions options = new ( ) ;
1920 options . Patch . Set ( "$.reasoning_effort"u8 , "minimal" ) ;
2021
21- ChatCompletion completion = client . CompleteChat (
22- [ new UserChatMessage ( "Say 'this is a test.'" ) ] ,
23- options ) ;
22+ ChatCompletion completion = client . CompleteChat ( [ new UserChatMessage ( "Say 'this is a test.'" ) ] , options ) ;
2423
2524 Console . WriteLine ( $ "[ASSISTANT]: { completion . Content [ 0 ] . Text } ") ;
2625
You can’t perform that action at this time.
0 commit comments