mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-07 17:31:04 +00:00
echo "$response" | grep -q can cause "write error: Broken pipe" when grep -q exits early and echo gets SIGPIPE. This is non-deterministic and depends on response size and timing, which is why it only fails intermittently in CI. Using [[ == *pattern* ]] avoids pipes entirely. Co-authored-by: lab <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||