mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-05 06:03:14 +08:00
测试llm_api_shutdown.py,通过
This commit is contained in:
parent
6019671080
commit
6c2b2b7ba2
@ -15,7 +15,7 @@ parser.add_argument("--serve",choices=["all","controller","model_worker","openai
|
|||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
base_shell = "ps -eo user,pid,cmd|grep fastchat.serve{}|grep -v grep|awk '{print $2}'|xargs kill -9"
|
base_shell = "ps -eo user,pid,cmd|grep fastchat.serve{}|grep -v grep|awk '{{print $2}}'|xargs kill -9"
|
||||||
|
|
||||||
if args.serve == "all":
|
if args.serve == "all":
|
||||||
shell_script = base_shell.format("")
|
shell_script = base_shell.format("")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user