Skip to content

Commit

Permalink
change tests order
Browse files Browse the repository at this point in the history
  • Loading branch information
humcqc committed Jun 16, 2024
1 parent 6f2b938 commit 3fe6b8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ void should_execute_tool_then_answer() throws IOException {
assertMultipleRequestMessage(getRequestAsMap(getRequestBody(wiremock().getServeEvents().get(0))),
List.of(
new MessageContent("user", "What is the square root of 485906798473894056 in scientific notation?"),
new MessageContent("assistant", null),
new MessageContent("function", "6.97070153193991E8")));
new MessageContent("function", "6.97070153193991E8"),
new MessageContent("assistant", null)));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ void should_execute_tool_then_answer() throws IOException {
List.of(
new MessageContent("user",
"What is the square root of 485906798473894056 in scientific notation?"),
new MessageContent("assistant", null),
new MessageContent("function", "6.97070153193991E8")));
new MessageContent("function", "6.97070153193991E8"),
new MessageContent("assistant", null)));

InstanceHandle<SimpleAuditService> auditServiceInstance = Arc.container().instance(SimpleAuditService.class);
assertTrue(auditServiceInstance.isAvailable());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,8 @@ void should_execute_tool_then_answer() throws IOException {
List.of(
new MessageContent("user",
"What is the square root of 485906798473894056 in scientific notation?"),
new MessageContent("assistant", null),
new MessageContent("function", "6.97070153193991E8")));
new MessageContent("function", "6.97070153193991E8"),
new MessageContent("assistant", null)));
}

@RegisterAiService
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ void should_execute_tool_then_answer() throws IOException {
List.of(
new MessageContent("user",
"What is the square root of 485906798473894056 in scientific notation?"),
new MessageContent("assistant", null),
new MessageContent("function", "6.97070153193991E8")));
new MessageContent("function", "6.97070153193991E8"),
new MessageContent("assistant", null)));
}

@Test
Expand Down

0 comments on commit 3fe6b8d

Please sign in to comment.