Skip to content

Commit 5fb5e8d

Browse files
committed
Fix build
1 parent 5888b79 commit 5fb5e8d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
- Added support for Json Schema to Open AI Chat Completions
44
- Upgraded to openai sdk 1.0.0-beta.11
5-
- Added convinience method `FunctionInvocation.withResultTypeAutoConversion` which sets the return type and registers a
5+
- Added convenience method `FunctionInvocation.withResultTypeAutoConversion` which sets the return type and registers a
66
type converter based on Jackson for the return type.
77

88
### Bug Fixes

api-test/integration-tests/src/test/java/com/microsoft/semantickernel/tests/RenderingTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ public void canHandleIterableReturnFromFunction() {
240240
.block();
241241

242242
String requestBody = wm.getAllServeEvents().get(0).getRequest().getBodyAsString();
243-
Assertions.assertTrue(requestBody.contains("{\"role\":\"user\",\"content\":\"[]"));
244-
Assertions.assertTrue(requestBody.contains("{\"role\":\"user\",\"content\":\"[1, 2, 3]"));
245-
Assertions.assertTrue(requestBody.contains("{\"role\":\"user\",\"content\":\"[4, 5, 6]"));
246-
Assertions.assertTrue(requestBody.contains("{\"role\":\"user\",\"content\":\"[7, 8, 9]"));
243+
Assertions.assertTrue(requestBody.contains("{\"content\":\"[]"));
244+
Assertions.assertTrue(requestBody.contains("{\"content\":\"[1, 2, 3]"));
245+
Assertions.assertTrue(requestBody.contains("{\"content\":\"[4, 5, 6]"));
246+
Assertions.assertTrue(requestBody.contains("{\"content\":\"[7, 8, 9]"));
247247
}
248248

249249
private Kernel buildTextKernel() {

0 commit comments

Comments
 (0)