Skip to content

Commit 24ae44e

Browse files
committed
update CI test file
Signed-off-by: Yongbozzz <yongbo.zhu@intel.com>
1 parent 5b76222 commit 24ae44e

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

EdgeCraftRAG/edgecraftrag/api/v1/pipeline.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ async def update_pipeline(name, request: PipelineCreateIn):
123123
async def remove_pipeline(name):
124124
try:
125125
pl = ctx.get_pipeline_mgr().get_pipeline_by_name_or_id(name)
126+
for _, agent in ctx.agentmgr.get_agents().items():
127+
if pl.idx == agent.pipeline_idx:
128+
raise Exception(f"Please cancel the {agent.name}'s agent associated with the current pipeline first")
126129
res = ctx.get_pipeline_mgr().remove_pipeline_by_name_or_id(name)
127130
await save_pipeline_configurations("delete", pl)
128131
return res

EdgeCraftRAG/tests/test_compose_vllm_on_arc.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function start_services() {
6161
sleep 30s
6262
n=0
6363
until [[ "$n" -ge 100 ]]; do
64-
docker logs ipex-llm-serving-xpu-container-0 > ${LOG_PATH}/ipex-llm-serving-xpu-container.log 2>&1
64+
docker logs ipex-llm-serving-xpu-770 > ${LOG_PATH}/ipex-llm-serving-xpu-container.log 2>&1
6565
if grep -q "Starting vLLM API server on http://0.0.0.0:" ${LOG_PATH}/ipex-llm-serving-xpu-container.log; then
6666
break
6767
fi
@@ -119,7 +119,7 @@ function validate_rag() {
119119
"${HOST_IP}:${EC_RAG_SERVICE_PORT}/v1/chatqna" \
120120
"1234567890" \
121121
"query" \
122-
"ipex-llm-serving-xpu-container-0" \
122+
"ipex-llm-serving-xpu-770" \
123123
'{"messages":"What is the test id?","max_tokens":5}'
124124
}
125125

@@ -129,7 +129,7 @@ function validate_megaservice() {
129129
"${HOST_IP}:16011/v1/chatqna" \
130130
"1234567890" \
131131
"query" \
132-
"ipex-llm-serving-xpu-container-0" \
132+
"ipex-llm-serving-xpu-770" \
133133
'{"messages":"What is the test id?","max_tokens":5}'
134134
}
135135

0 commit comments

Comments
 (0)