From 4e3723dd54abd1490d6691ee2d1273e49f68af5a Mon Sep 17 00:00:00 2001 From: Haotian Zheng <73241835+Hao-tian-Zheng@users.noreply.github.com> Date: Thu, 16 Nov 2023 23:02:25 +0800 Subject: [PATCH] Update index.mdx (#696) --- website/blog/2023-07-14-Local-LLMs/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/blog/2023-07-14-Local-LLMs/index.mdx b/website/blog/2023-07-14-Local-LLMs/index.mdx index 8c06ae1e1..5eba2e6c4 100644 --- a/website/blog/2023-07-14-Local-LLMs/index.mdx +++ b/website/blog/2023-07-14-Local-LLMs/index.mdx @@ -47,7 +47,7 @@ Finally, launch the RESTful API server python -m fastchat.serve.openai_api_server --host localhost --port 8000 ``` -Normally this will work. However, if you encounter error like [this](https://github.com/lm-sys/FastChat/issues/1641), commenting out all the lines containing `finish_reason` in `fastchat/protocol/api_protocal.py` and `fastchat/protocol/openai_api_protocol.py` will fix the problem. The modified code looks like: +Normally this will work. However, if you encounter error like [this](https://github.com/lm-sys/FastChat/issues/1641), commenting out all the lines containing `finish_reason` in `fastchat/protocol/api_protocol.py` and `fastchat/protocol/openai_api_protocol.py` will fix the problem. The modified code looks like: ```python class CompletionResponseChoice(BaseModel):