mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Disallow subagents with no extensions (#5825)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user