feat: Implementing minimal feature scope for Spring AI integration in OpenAI#526
Closed
n-o-u-r-h-a-n wants to merge 58 commits intomainfrom
Closed
feat: Implementing minimal feature scope for Spring AI integration in OpenAI#526n-o-u-r-h-a-n wants to merge 58 commits intomainfrom
n-o-u-r-h-a-n wants to merge 58 commits intomainfrom
Conversation
… 1.0.0 (GA Version) (#503)"
… 1.0.0 (GA Version) (#503)"
… AI 1.0.0 (GA Version) (#503)".
…AiService + their corresponding passed tests in SpringAiOpenAiTest class. Regarding the OpenAiChatModel class it was just formatting, nothing changed.
--> 4 methods in OpenAiChatCompletionRequest.java return only this now and other constructors other than main are removed for now.
…ringopenai # Conflicts: # core/src/main/java/com/sap/ai/sdk/core/common/ClientResponseHandler.java
…est.java failing. --> still fix of null of message.getText() in toAssistantMessage() method in OpenAiChatModel.java pending.
# Conflicts: # sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/SpringAiAgenticWorkflowService.java
… into chatcompletion-for-springopenai
rpanackal
reviewed
Aug 12, 2025
sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/SpringAiOpenAiService.java
Show resolved
Hide resolved
...dels/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiAssistantMessage.java
Outdated
Show resolved
Hide resolved
...dels/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiAssistantMessage.java
Outdated
Show resolved
Hide resolved
...openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiChatCompletionRequest.java
Show resolved
Hide resolved
.../openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiChatCompletionConfig.java
Show resolved
Hide resolved
...n-models/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/OpenAiFunctionCall.java
Outdated
Show resolved
Hide resolved
rpanackal
reviewed
Aug 12, 2025
...ls/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/spring/OpenAiChatOptions.java
Show resolved
Hide resolved
Comment on lines
+122
to
+130
| public <T extends ChatOptions> T copy() { | ||
| final OpenAiChatOptions copy = new OpenAiChatOptions(); | ||
| copy.setToolCallbacks(this.toolCallbacks); | ||
| copy.setInternalToolExecutionEnabled(this.internalToolExecutionEnabled); | ||
| copy.setTools(this.tools); | ||
| copy.setToolNames(this.toolNames); | ||
| copy.setToolContext(this.toolContext); | ||
| return (T) copy; | ||
| } |
Member
There was a problem hiding this comment.
(Minor)
Please also copy the config and any other fields that was missed
* Reduce constructors * Update thresholds * Update javadoc and factory name
…to withStop() method.
… into chatcompletion-for-springopenai
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
AI/ai-sdk-java-backlog#179.
Integrating SpringAi with our OpenAiClient.
Feature scope:
Definition of Done
Aligned changes with the JavaScript SDK