Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 32829ae8ba |
@@ -255,9 +255,14 @@ if [ ! -s /tmp/pi-review.md ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Debug mode: PI_DEBUG=${PI_DEBUG}"
|
||||||
|
|
||||||
# If debug mode, extract tool calls from session and append to review
|
# If debug mode, extract tool calls from session and append to review
|
||||||
if [ "${PI_DEBUG}" = "true" ]; then
|
if [ "${PI_DEBUG}" = "true" ]; then
|
||||||
|
echo "Session dir contents:"
|
||||||
|
find /tmp/pi-session -type f 2>/dev/null || echo " (none)"
|
||||||
SESSION_FILE=$(find /tmp/pi-session -name '*.jsonl' -type f 2>/dev/null | head -1)
|
SESSION_FILE=$(find /tmp/pi-session -name '*.jsonl' -type f 2>/dev/null | head -1)
|
||||||
|
echo "Session file: ${SESSION_FILE:-<none found>}"
|
||||||
TOOL_LOG=""
|
TOOL_LOG=""
|
||||||
|
|
||||||
if [ -n "${SESSION_FILE}" ]; then
|
if [ -n "${SESSION_FILE}" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user