Commit c270c3d
committed
agents,phone,conversations: post-ship review fixes + fresh defaults (v0.3.1)
Codex (gpt-5.4, xhigh) post-ship review of v0.3.0 caught six concrete
bugs + a batch of stale defaults and outdated copy. All fixed here.
Review report at docs/reference/post-ship-review-v0.3.0.md.
Response-shape bugs
- `agents llms`: now reads `llms[].llm` (not non-existent `llm_id`) and
displays the fields that actually exist — max_context_limit,
max_tokens_limit, supports_{image,document,parallel_tool}_input,
available_reasoning_efforts, deprecation_info. Human-mode table was
rendering blank IDs before; JSON mode always worked.
- `agents knowledge search`: now reads the spec-correct
KnowledgeBaseContentSearchResult shape (document.{id,name,type} +
search_snippet[].{value,is_hit} + score) and bolds matching
snippet segments. Previous wiring looked for flat document_name /
content that never existed.
Outbound-call body drift
- `phone call --dynamic-variables` deep-merges into any existing
client-data.dynamic_variables map instead of wholesale replacement.
Help text had promised merge; code now matches.
- `phone call --record` errors client-side on SIP-trunk numbers
(exit 3). The OpenAPI spec only defines call_recording_enabled on
the Twilio outbound-call body; SIP was silently dropping the field.
- `phone call --ringing-timeout-secs` clap-validated to 1..=999 per
TelephonyCallConfig.ringing_timeout_secs spec range.
Shared client plumbing
- New `ElevenLabsClient::get_bytes` for binary-body GETs. Used by
`conversations audio`. Replaces a private helper that had drifted
from `check_status` (no detail.message extraction, no redaction
parity). Same secret-redacting + short-message error shape as every
other command.
Fresh defaults (cross-checked against the vendored OpenAPI spec + the
April 2026 ElevenLabs models doc)
- `agents create --llm`: gemini-3.1-flash-lite-preview →
gemini-2.5-flash. Matches PromptAgentAPIModel.llm spec default.
- `agents create --max-duration-seconds`: 300 → 600. Matches
ConversationConfig.max_duration_seconds spec default.
- AGENT_TTS_MODEL_IDS reordered: eleven_flash_v2_5 first (recommended),
eleven_turbo_v2{,_5} last and marked DEPRECATED in gotchas/help.
- Two stale `gemini-3.1-flash-preview` help examples replaced with
`gemini-2.5-flash` (the preview isn't in the LLM enum).
- Dropped "Creator+ at the time of writing" unverified tier claims;
we now say "requires a plan with expressive TTS" and surface the
API's own error string as the fallback.
Docs hygiene
- README: homebrew tap 199-biotechnologies/tap → paperfoot/tap; drop
"grounded against elevenlabs-js v2.43" claim in favour of a pointer
to the vendored OpenAPI spec; command summary lists every v0.3.0
addition (agents llms/signed-url/knowledge, conversations audio,
phone call --client-data / --record / --ringing-timeout-secs).
- docs/reference/spec-audit-v0.2.2.md renamed to
spec-audit-pre-v0.3.0.md with a banner flagging it as historical.
- docs/reference/README.md fixed: removed broken reference to a
non-existent audit-prompt.md; added "Historical audits" index
linking the two captured reports.
Test suite still green (36 suites). cargo fmt + cargo clippy clean.
CHANGELOG: [0.3.1] — 2026-04-21.1 parent ba0b86d commit c270c3d
16 files changed
Lines changed: 452 additions & 126 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
6 | 92 | | |
7 | 93 | | |
8 | 94 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
| 275 | + | |
275 | 276 | | |
276 | | - | |
| 277 | + | |
| 278 | + | |
277 | 279 | | |
278 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
279 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
280 | 288 | | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
286 | 295 | | |
287 | 296 | | |
288 | 297 | | |
| 298 | + | |
289 | 299 | | |
290 | 300 | | |
291 | 301 | | |
| |||
296 | 306 | | |
297 | 307 | | |
298 | 308 | | |
299 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
300 | 313 | | |
301 | 314 | | |
302 | 315 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 29 | | |
33 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
0 commit comments