Skip to content

feat(agent): speak, speechCleanup, noResponseMaxPrompts (schema v0.4.26) - #11

Merged
davehorton merged 1 commit into
mainfrom
feat/agent-speak-speech-cleanup
Oct 24, 2026
Merged

davehorton merged 1 commit into
mainfrom
feat/agent-speak-speech-cleanup

Conversation

@davehorton

Copy link
Copy Markdown
Contributor

Brings the Python SDK up to @jambonz/schema v0.4.26 so the new agent options validate and autocomplete.

  • scripts/sync_schema.py: pin v0.4.23 → v0.4.26; bundled schema re-synced. Besides the agent changes this brings the schema changes since v0.4.23: recognizer-mistralOptions, nova_s2s, and small recognizer/synthesizer/config updates.
  • verb_builder.pyi: regenerated (agent() gains speak, speechCleanup, noResponseMaxPrompts).
  • types/verbs.py AgentVerb: the same three fields.

Agent options:

  • speak (default true): false keeps the agent's text out of TTS (feature-server#297).
  • speechCleanup (default true): drops stage-direction-only paragraphs and <think>-style blocks before TTS (feature-server#298).
  • noResponseMaxPrompts: was in the schema already but missing from the TypedDict.

Tests: pytest 311 passed; ruff check src/ tests/ clean; JambonzValidator accepts both new booleans and rejects speechCleanup: 'yes'.

Not done: nova_s2s is now in the bundled schema but has no builder method in verb_registry.py (no stub generated for it).

🤖 Generated with Claude Code

- bundled schema synced to @jambonz/schema v0.4.26
- verb_builder.pyi regenerated
- AgentVerb TypedDict: speak, speechCleanup, noResponseMaxPrompts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davehorton
davehorton merged commit 4bfd418 into main Oct 24, 2026
7 checks passed
@davehorton
davehorton deleted the feat/agent-speak-speech-cleanup branch October 24, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant