Skip to content

docs: address week-1 onboarding feedback#91

Draft
cshape wants to merge 3 commits into
mainfrom
docs/week1-feedback-fixes
Draft

docs: address week-1 onboarding feedback#91
cshape wants to merge 3 commits into
mainfrom
docs/week1-feedback-fixes

Conversation

@cshape

@cshape cshape commented Jun 19, 2026

Copy link
Copy Markdown

Summary

Documentation fixes from Cale's week-1 "fresh eyes" onboarding feedback. Three independent, low-risk docs fixes.

Opened as a draft for review before merge.

Changes

  1. [emphasis] documented — previously only mentioned in the changelog and models overview. Added as a Tone Marker with a usage example on the Emotion Control page.
  2. "Special Effects" placement — Tone Markers, Audio Effects, and Special Effects were nested under "Complete Emotion Reference" alongside actual emotions. Moved them into a new Sound & Delivery Markers section, since they aren't emotions.
  3. Latency guidance — S2 over WebSocket can take several seconds to first audio because the raw HTTP/WebSocket API defaults latency to normal (the Python SDK defaults to balanced). Added a warning and a per-surface support matrix so real-time users (e.g. via the LiveKit plugin) know to set balanced/low.

Dropped from this PR — train_mode fix moved to backend

The Create Model reference advertises train_mode: "full" in the response, but TTS creation only supports "fast". I originally fixed this in openapi.json, but openapi.json is a generated artifactscripts/update-openapi.mjs pulls it from https://api.fish.audio/openapi.json, and the check-openapi CI job regenerates it and fails if the committed file differs. A hand-edit here can never pass CI.

The fix must land in the backend and be deployed:

  • platform-api/apps/models/schemas.py:103train_mode: Literal["fast", "full"] = "full" (the response model that emits full).

Once deployed, the docs spec will pick up fast automatically on the next regen. Tracking separately.

Other follow-ups (not in this PR)

  • Emotion advice needs verification: emotions.mdx advises "Add appropriate text after sound effects (e.g., 'Ha ha' after laughing)" — likely leftover S1 guidance. Left unchanged pending confirmation of actual S2 behavior.

Validation

check-openapi, Mintlify deployment, and CodeRabbit all pass. Mintlify preview built successfully.

- API reference: Create Model (POST /model) response now shows train_mode
  as const "fast" (TTS-only); GET /model/{id} and the shared model schema
  default to "fast" while still allowing "full" for non-TTS models. Fixes
  the stale "full" example in the clone/create model reference.
- Emotion Control: document the [emphasis] tone marker (previously only in
  the changelog and models overview), with usage example.
- Emotion Control: move Tone Markers, Audio Effects and Special Effects out
  from under "Complete Emotion Reference" into a new "Sound & Delivery
  Markers" section, since these are not emotions.
- Real-time streaming + TTS: clarify latency defaults. The raw HTTP/WebSocket
  API defaults to "normal" (quality-tuned, high time-to-first-audio) while
  the Python SDK defaults to "balanced"; add a warning and a per-surface
  support matrix so real-time users (e.g. via LiveKit) set balanced/low.

Note: openapi.json is regenerated from platform-api; the durable train_mode
fix also needs platform-api apps/models/schemas.py updated (follow-up).
@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 1ebf08d7-2cb7-45be-bac4-be36b1d6b92b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/week1-feedback-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mintlify

mintlify Bot commented Jun 19, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
hanabiaiinc 🟢 Ready View Preview Jun 19, 2026, 1:07 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

openapi.json is regenerated from https://api.fish.audio/openapi.json and
CI (check-openapi) enforces the committed file matches that output. The
train_mode fast/full fix must land in platform-api and be deployed so the
live spec emits it; hand-editing the generated file here cannot pass CI.
Tracking train_mode as a platform-api follow-up.
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