feat: Add cache control support in langchain orchestration client#1950
feat: Add cache control support in langchain orchestration client#1950davidkna-sap wants to merge 6 commits into
Conversation
c72ccdd to
071eec1
Compare
SummaryThe following content is AI-generated and provides a summary of the pull request: feat: Add Cache Control Support in LangChain Orchestration ClientNew Features✨ Introduces prompt caching support for the Two new capabilities are added:
Additionally, Changes
PR Bot InformationVersion:
|
8c956db to
812bb62
Compare
812bb62 to
f97b34d
Compare
| run: echo "NODE_PATH=$(pwd)/node_modules" >> "$GITHUB_ENV" | ||
| - name: Check public API | ||
| uses: sap/cloud-sdk-js/.github/actions/check-public-api@main | ||
| uses: sap/cloud-sdk-js/.github/actions/check-public-api@extend-generator-ts-options |
There was a problem hiding this comment.
To be reverted after merge of SAP/cloud-sdk-js#6694
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/index.js" | ||
| }, | ||
| "./orchestration/prompt-caching-middleware": { |
There was a problem hiding this comment.
I added this as explicit export to avoid having to dynamically import langchain as this would have also required some manual type definitions.
Context
Closes SAP/ai-sdk-js-backlog#575.
What this PR does and why it is needed