Skip to content

Fix and improve the mock server#640

Open
jaredoconnell wants to merge 3 commits intovllm-project:mainfrom
jaredoconnell:fix/mock-server
Open

Fix and improve the mock server#640
jaredoconnell wants to merge 3 commits intovllm-project:mainfrom
jaredoconnell:fix/mock-server

Conversation

@jaredoconnell
Copy link
Collaborator

Summary

This fixes a few issues with the mock server, each in their own commits:

  • It didn't support the list request format. Now it does.
  • All logs were duplicated. Now they're not.
  • It didn't respond to CTRL-C. Now it shuts down gracefully.

Test Plan

You can use the mock server to verify that it works.
There is also now a test for the list format requests.


  • "I certify that all code in this PR is my own, except as noted below."

Use of AI

  • Includes AI-assisted code completion
  • Includes code generated by an AI application
  • Includes AI-generated tests (NOTE: AI written tests should have a docstring that includes ## WRITTEN BY AI ##)

This matches the format that GuideLLM uses for chat completions.

Generated-by: Cursor AI
Signed-off-by: Jared O'Connell <joconnel@redhat.com>
Signed-off-by: Jared O'Connell <joconnel@redhat.com>
Generated-by: Cursor AI
Signed-off-by: Jared O'Connell <joconnel@redhat.com>
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.

1 participant