Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Code Generator for AI SDK #652

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MatKuhr
Copy link
Member

@MatKuhr MatKuhr commented Nov 28, 2024

Context

Supports this PR: SAP/ai-sdk-java#201

Definition of Done

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

@@ -74,17 +73,17 @@ public class {{classname}} extends AbstractOpenApiService {
*/
public {{classname}}()
{
super(new AiCoreService().client());
super(new AiCoreService().getApiClient());
Copy link
Contributor

@newtork newtork Nov 29, 2024

Choose a reason for hiding this comment

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

(Hindsight)

This would not have been necessary if we had considered parameterized constructors:
#629 (comment)

Should we consider doing this now?

Copy link
Member Author

Choose a reason for hiding this comment

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

true, on the other hand I'd hope we don't have to do frequent changes to this, and if we do, there is the risk the parameters don't exactly fit what we need 😅

No strong opinion though, we also don't have time pressure to implement this, can always be done later on if we like

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.

2 participants