Skip to content

Commit

Permalink
Assign text to a variable for easier debugging and clarity.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoborges committed Jul 11, 2023
1 parent 71651cc commit 9467c14
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ public void run() {

Mono<String> renderedPrompt = promptRenderer.renderAsync(skContext);

String renderedText = renderedPrompt.block();

// Check that it has been rendered
Assertions.assertTrue(!renderedPrompt.block().contains("time.Date"));
Assertions.assertTrue(!renderedText.contains("time.Date"));

// Run the prompt / semantic function
CompletionSKFunction kindOfDay =
Expand Down

0 comments on commit 9467c14

Please sign in to comment.