Disallow subagents with no extensions (#5825)

This commit is contained in:
Jack Amadeo
2025-12-15 12:45:42 -05:00
committed by GitHub
parent 6d5bf36451
commit 9fdb0356f0
5 changed files with 54 additions and 46 deletions
+4 -4
View File
@@ -151,7 +151,7 @@ echo ""
# TEST 2: Auto Compaction
# ==================================================
echo "---------------------------------------------------"
echo "TEST 2: Auto Compaction via threshold (0.01)"
echo "TEST 2: Auto Compaction via threshold (0.005)"
echo "---------------------------------------------------"
TESTDIR=$(mktemp -d)
@@ -159,8 +159,8 @@ echo "test content" > "$TESTDIR/test.txt"
echo "Test directory: $TESTDIR"
echo ""
# Set auto-compact threshold very low (1%) to trigger it quickly
export GOOSE_AUTO_COMPACT_THRESHOLD=0.01
# Set auto-compact threshold very low (.5%) to trigger it quickly
export GOOSE_AUTO_COMPACT_THRESHOLD=0.005
OUTPUT=$(mktemp)
@@ -197,7 +197,7 @@ else
fi
else
echo "✗ FAILED: Auto compaction was not triggered"
echo " Expected to see auto-compact messages with threshold of 0.01"
echo " Expected to see auto-compact messages with threshold of 0.005"
RESULTS+=("✗ Auto Compaction")
fi
fi