Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions tests/test-26-qwenpaw-teamharness-plugin-mode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,17 @@ _k8s_api() {
local path="$3"

if [ "${method}" = "GET" ] || [ "${method}" = "DELETE" ]; then
docker exec "${TEST_CONTROLLER_CONTAINER:-hiclaw-controller}" sh -c '
token="$(cut -d, -f1 /data/hiclaw-controller/pki/token.csv)"
docker exec "${TEST_CONTROLLER_CONTAINER:-agentteams-controller}" sh -c '
token="$(cut -d, -f1 /data/agentteams-controller/pki/token.csv)"
curl -ksS -X "$1" \
-H "Authorization: Bearer ${token}" \
"https://127.0.0.1:6443$2"
' sh "${method}" "${path}"
return $?
fi

docker exec -i "${TEST_CONTROLLER_CONTAINER:-hiclaw-controller}" sh -c '
token="$(cut -d, -f1 /data/hiclaw-controller/pki/token.csv)"
docker exec -i "${TEST_CONTROLLER_CONTAINER:-agentteams-controller}" sh -c '
token="$(cut -d, -f1 /data/agentteams-controller/pki/token.csv)"
curl -ksS -X "$1" \
-H "Authorization: Bearer ${token}" \
-H "Content-Type: $2" \
Expand All @@ -147,7 +147,7 @@ _k8s_api() {
_k8s_resource_path() {
local plural="$1"
local name="${2:-}"
local path="/apis/hiclaw.io/v1beta1/namespaces/${K8S_NAMESPACE}/${plural}"
local path="/apis/agentteams.io/v1beta1/namespaces/${K8S_NAMESPACE}/${plural}"
if [ -n "${name}" ]; then
path="${path}/${name}"
fi
Expand Down Expand Up @@ -564,7 +564,7 @@ _create_qwenpaw_worker_cr() {
--arg soul "${soul}" \
--argjson labels "${labels}" \
'{
apiVersion:"hiclaw.io/v1beta1",
apiVersion:"agentteams.io/v1beta1",
kind:"Worker",
metadata:{name:$name, namespace:$namespace, labels:$labels},
spec:{
Expand All @@ -589,7 +589,7 @@ _create_decoupled_team_cr() {
--arg worker "${TEST_WORKER}" \
--argjson labels "${labels}" \
'{
apiVersion:"hiclaw.io/v1beta1",
apiVersion:"agentteams.io/v1beta1",
kind:"Team",
metadata:{name:$name, namespace:$namespace, labels:$labels},
spec:{
Expand Down Expand Up @@ -1030,7 +1030,7 @@ mcp_transport = os.environ["TEST_MCP_TRANSPORT"]
problems = []
agent = json.loads((workspace / "agent.json").read_text(encoding="utf-8"))
active = agent.get("active_model") or {}
if active.get("provider_id") != "hiclaw-gateway" or active.get("model") != model:
if active.get("provider_id") != "agentteams-gateway" or active.get("model") != model:
problems.append("active_model")

for rel in ["mcporter-servers.json", "config/mcporter.json"]:
Expand Down
Loading