Skip to content

Conversation

@newtork
Copy link
Contributor

@newtork newtork commented Oct 24, 2025

Context

Orchestration BLI
https://github.tools.sap/AI/llm-orchestration/issues/1764

Announcement
https://sap-ml.slack.com/archives/C090TSZ2M1N/p1761228331127799

Discussion
https://sap-ml.slack.com/archives/C070WHEH35L/p1761295434796079


Not changing documented / public API
image

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 (housekeeping)

@newtork newtork added the please-review Request to review a pull-request label Oct 24, 2025
@newtork newtork changed the title chore: [Orchestration] [OpenAI] Migrate max_token parameter chore: [Orchestration] (and OpenAI) Migrate max_token parameter Oct 24, 2025
Copy link
Contributor

@CharlesDuboisSAP CharlesDuboisSAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would test it once locally to make sure the behaviour is the same

request =
request
.withStop(options.getStopSequences())
.withMaxCompletionTokens(options.getMaxTokens());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change OpenAI, I thought only orchestration deprecated it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently we didn't even notice that OpenAI deprecated the field last year 😅

https://github.com/SAP/ai-sdk-java/blob/main/foundation-models/openai/src/main/resources/spec/openapi-2024-10-21.yaml#L621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please-review Request to review a pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants