Skip to content

Commit 7baf530

Browse files
committed
Merge branch 'feat/openai/tool-definition-and-call-parsing-v2' of https://github.com/SAP/ai-sdk-java into feat/openai/tool-definition-and-call-parsing-v2
2 parents 91433a2 + f297fed commit 7baf530

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)