Skip to content

Commit

Permalink
Assert specific value expected for the sanitized generic type name
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Oct 10, 2024
1 parent 8dd475f commit ac55349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public async Task CanUseNativeStructuredOutputWithSanitizedTypeName()
{
var responseFormat = Assert.IsType<ChatResponseFormatJson>(options!.ResponseFormat);
Assert.Matches("^[a-zA-Z0-9_-]+$", responseFormat.SchemaName);
Assert.Matches("Data_1", responseFormat.SchemaName);
return Task.FromResult(expectedCompletion);
},
Expand Down

0 comments on commit ac55349

Please sign in to comment.