-
Notifications
You must be signed in to change notification settings - Fork 182
Add non-streaming response to approximate prefix cache. #1719
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
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zetxqx The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for gateway-api-inference-extension ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
e21b3fe
to
565a1ce
Compare
565a1ce
to
a7ddc30
Compare
a7ddc30
to
7476ad3
Compare
7857fa6
to
e1f9e73
Compare
…ethod of Messages in ChatCompletions.
e1f9e73
to
eec941c
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add non streaming response to prefix cache, several points to pay attention:
requestcontrol
plugin into 3 separate plugins to add streamed request functionality #1661ResponseComplete
to accept a*types.LLMResponse
which has richer structure.ChatCompletions
messages for prefix caching is now standardized viaMarshalMessagesToJSON
to improve caching accuracy for multi-turn conversations.Which issue(s) this PR fixes:
Fixes Partially #971
Does this PR introduce a user-facing change?: