Skip to content

Commit f297fed

Browse files
newtorkJonas-Isr
andauthored
Update sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OpenAiServiceV2.java
Co-authored-by: Jonas-Isr <[email protected]>
1 parent 2239ad7 commit f297fed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/OpenAiServiceV2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public OpenAiChatCompletionResponse chatCompletionToolExecution(
113113
final OpenAiAssistantMessage assistantMessage = response.getMessage();
114114
final var toolResults = OpenAiTool.execute(tools, assistantMessage);
115115

116-
// 4. Send back the results for model will incorporate them into its final response.
116+
// 4. Return the results so that the model can incorporate them into the final response.
117117
messages.add(assistantMessage);
118118
messages.addAll(toolResults.getMessages());
119119

0 commit comments

Comments
 (0)