Skip to content

Commit 960bc00

Browse files
committed
Use logcat
1 parent 42cb6c1 commit 960bc00

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/llm-android.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ jobs:
130130
./gradlew connectedCheck $GRADLE_ARGS; TEST_EXIT_CODE=$?
131131
kill $LOGCAT_PID || true
132132
# Extract response from logcat
133+
echo "=== Searching for LLAMA_RESPONSE in logcat ==="
134+
grep "LLAMA_RESPONSE" /tmp/logcat.txt || echo "No LLAMA_RESPONSE found in logcat"
133135
grep "LLAMA_RESPONSE" /tmp/logcat.txt | sed 's/.*LLAMA_RESPONSE: //' | grep -v "BEGIN_RESPONSE\|END_RESPONSE" > /tmp/response.txt || true
136+
echo "=== Response file contents ==="
137+
cat /tmp/response.txt || echo "Response file empty or not created"
134138
exit $TEST_EXIT_CODE
135139
136140
- name: Add model response to summary

0 commit comments

Comments
 (0)