Skip to content

feat: [OpenAI] An AiCore wrapper for Responses API only#819

Open
rpanackal wants to merge 34 commits intofeat/poc-openai-responses-apachefrom
feat/poc-aicore-responses-only
Open

feat: [OpenAI] An AiCore wrapper for Responses API only#819
rpanackal wants to merge 34 commits intofeat/poc-openai-responses-apachefrom
feat/poc-aicore-responses-only

Conversation

@rpanackal
Copy link
Copy Markdown
Member

@rpanackal rpanackal commented Apr 8, 2026

Context

AI/ai-sdk-java-backlog#364.

An alternative to #806

The above mentioned PR introduced wrapper for all openai endpoints and failed to scale. So, we have stripped down the scope of the wrapper to be limited to Responses API alone.

The motivation for this decision is because, the OpenAI SDK integration is not decidedly "the way to go" but an approach that enables Responses API until we can support code generation for OAS3.2, the original blocker for OpenAI Responses API.

Feature scope:

  • AiCoreOpenAiClient.response(OpenAiModel.GPT_5) returns a wrapper AiCoreResponseService
    • AiCoreResponseService provides model injection if left out in params and throws there is a model mismatch against deployment model

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Aligned changes with the JavaScript SDK
  • Documentation updated
  • Release notes updated

…openai-wrapper

# Conflicts:
#	foundation-models/openai/pom.xml
#	foundation-models/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/AiCoreOpenAiClient.java
#	foundation-models/openai/src/test/java/com/sap/ai/sdk/foundationmodels/openai/AiCoreOpenAiClientTest.java
#	pom.xml
#	sample-code/spring-app/src/main/java/com/sap/ai/sdk/app/services/AiCoreOpenAiService.java
@rpanackal rpanackal changed the base branch from main to feat/poc-openai-responses-apache April 8, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant