fix(run-templates): send plural array IDs to match API schema#76
Conversation
The v1 API requires agent_ids/persona_ids/test_set_ids as arrays
(min length 1), but the CLI was sending the singular variants and
getting 400 INVALID_ARGUMENT on every create/update call.
Flags are now repeatable or comma-delimited:
coval run-templates create \
--agent-ids agentA,agentB \
--persona-ids p1 --persona-ids p2 \
--test-set-ids ts1
|
Warning Review limit reached
More reviews will be available in 14 minutes and 30 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
agent_ids/persona_ids/test_set_idsas arrays (min length 1), but the CLI was sending the singularagent_id/persona_id/test_set_idand everyrun-templates create/updatecall returned 400 INVALID_ARGUMENT.Vec<String>, response model to pluralVec<String>(also brings the cached display in line with the API response shape).```
coval run-templates create \
--name "Voice eval" \
--agent-ids agentA,agentB \
--persona-ids p1 --persona-ids p2 \
--test-set-ids ts1
```
Test plan