Skip to content

feat: [Orchestration] v2 API - prompts with template references - #1050

Open
n-o-u-r-h-a-n wants to merge 10 commits into
v2from
template-reference-api
Open

n-o-u-r-h-a-n wants to merge 10 commits into
v2from
template-reference-api

Conversation

@n-o-u-r-h-a-n

@n-o-u-r-h-a-n n-o-u-r-h-a-n commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Context

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

Implemented a v2 API which restrict inputing a prompt with a prompt reference rather than throwing like the fix introduced in this blocked PR.

Feature scope:

  • Added chatCompletionUsingTemplateRef which generates a completion using the template reference.
  • Added a new overload for withTemplateConfig.
  • Updates e2e and unit tests accordingly.

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Relevant E2E tests are green (at least locally)
  • Error handling created / updated & covered by the tests above
  • Aligned changes with the JavaScript SDK
  • Documentation updated
  • Release notes updated

@n-o-u-r-h-a-n
n-o-u-r-h-a-n changed the base branch from main to v2 September 16, 2026 12:23
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.

3 participants