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

Patch release for older vllm engine lora support in gateway plugins #599

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

varungup90
Copy link
Collaborator

No description provided.

@Jeffwan Jeffwan changed the title Patch release for gateway plugins Patch release for older vllm engine lora support in gateway plugins Jan 24, 2025
@Jeffwan Jeffwan merged commit c85514d into main Jan 24, 2025
10 checks passed
@Jeffwan Jeffwan deleted the patch-rel branch January 24, 2025 06:16
@@ -410,17 +410,18 @@ func (s *Server) HandleResponseBody(ctx context.Context, requestID string, req *
Key: "x-error-response-unmarshal", RawValue: []byte("true"),
}}},
err.Error()), complete
} else if res.Model != model {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This check is used to handle error messages from the vLLM model. I assumed "model" from request header should equal to "res.Model" returned from the response. If that is not the case, replacing with len(res.Model) == 0 is ok.

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