Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ci-model-prices): max turns check (#14411)

Hassieb Pakzad6d90ef28f295
diff --git a/.github/workflows/model-price-audit.yml b/.github/workflows/model-price-audit.yml
index 10f607cd8c..b2043137d2 100644
--- a/.github/workflows/model-price-audit.yml
+++ b/.github/workflows/model-price-audit.yml
@@ -70,7 +70,7 @@ jobs:
;;
esac
- if [[ ! "$CLAUDE_MAX_TURNS" =~ ^[1-9][0-9]?$ ]] || [ "$CLAUDE_MAX_TURNS" -gt 500 ]; then
+ if [[ ! "$CLAUDE_MAX_TURNS" =~ ^[1-9][0-9][0-9]?$ ]] || [ "$CLAUDE_MAX_TURNS" -gt 500 ]; then
echo "::error::max_turns must be a whole number between 1 and 500"
exit 1
fi