Skip to content

[Feature]: kv_transfer_params not returned for multiple subrequests #19902

Open
@jianzs

Description

@jianzs

🚀 The feature, motivation and pitch

Currently, when handling HTTP requests with multiple subrequests, the response only includes kv_transfer_params for one subrequest, making it impossible to access KV transfer information for other subrequests.

Related PR: #17751
Reference code:

return CompletionResponse(
id=request_id,
created=created_time,
model=model_name,
choices=choices,
usage=usage,
kv_transfer_params=final_res_batch[0].kv_transfer_params)

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions