mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-26 00:33:35 +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()
|
||||
|
||||
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":
|
||||
shell_script = base_shell.format("")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user