Skip to content

Conversation

@rpanackal
Copy link
Member

@rpanackal rpanackal commented Mar 14, 2025

Context

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

Previously the e2e only included the initial request for tool call. We are now adding additional e22e test for the second interaction after tool execution.

Note: Docs updated on SAP/ai-sdk#24

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

@rpanackal rpanackal self-assigned this Mar 17, 2025
@rpanackal rpanackal added the please-review Request to review a pull-request label Mar 17, 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.

You should remove the old tools endpoint chatCompletionTools, it has no purpose anymore

@rpanackal rpanackal removed the please-review Request to review a pull-request label Mar 20, 2025
rpanackal and others added 20 commits March 24, 2025 16:09
- Mostly tested
- API design complete
- Function Call as message content item
- Non nullability of `Message.content()`
…nai/tool-call-execute

# Conflicts:
#	sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/services/OpenAiServiceV2.java
- OpenAiAssistantMessage().content() may contain empty list
- final keyword
- remove redundant assertion
- variable naming
…nai/tool-call-execute

# Conflicts:
#	sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/services/OpenAiServiceV2.java
- final keyword
- variable naming
@rpanackal rpanackal added the please-review Request to review a pull-request label Mar 31, 2025
@rpanackal rpanackal removed the please-review Request to review a pull-request label Apr 1, 2025
@rpanackal rpanackal added the please-review Request to review a pull-request label Apr 2, 2025
Base automatically changed from feat/openai/tool-call-execute to main April 3, 2025 11:18
@rpanackal rpanackal merged commit 260d0f7 into main Apr 3, 2025
6 checks passed
@rpanackal rpanackal deleted the test/openai/tool-call-execute branch April 3, 2025 12:58
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.

5 participants