You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep new Segment fields in compact transcript API responses automatically #16
Segment.to_dict(include_words=False) manually enumerates fields. If a future field is added to the Segment dataclass, the default compact HTTP/MCP transcript response will silently omit it, even though saved JSON and Python objects include it.
Proposed work
Start from asdict(self) and remove only the words key when include_words=False. Preserve the existing opt-in word-timing behavior and response shape.
Acceptance criteria
Regression test demonstrates that the compact response excludes words but keeps all other current Segment fields.
A test guards against future dataclass-field drift.
Saved JSON and Python API still retain word timings.
Follow-up from the v0.1.5 review; not a release blocker.
Activity