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

Fix vLLM endpoint to have correct suffix #548

Merged
merged 11 commits into from
Dec 1, 2023
2 changes: 1 addition & 1 deletion docs/vllm.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ In your terminal where you're running MemGPT, run `memgpt configure` to set the

If you have an existing agent that you want to move to the vLLM backend, add extra flags to `memgpt run`:
```sh
memgpt run --agent your_agent --model-endpoint-type vLLM --model-endpoint http://localhost:8000
memgpt run --agent your_agent --model-endpoint-type vllm --model-endpoint http://localhost:8000 --model ehartford/dolphin-2.2.1-mistral-7b
```
2 changes: 1 addition & 1 deletion memgpt/local_llm/vllm/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from ..utils import load_grammar_file, count_tokens

WEBUI_API_SUFFIX = "/completions"
WEBUI_API_SUFFIX = "/v1/completions"
DEBUG = False


Expand Down