Skip to content

fix: repair broken code fences in assistant hooks page#1018

Merged
dhruva-reddy merged 2 commits intomainfrom
dr/add-time-elapsed-hook-docs
Apr 10, 2026
Merged

fix: repair broken code fences in assistant hooks page#1018
dhruva-reddy merged 2 commits intomainfrom
dr/add-time-elapsed-hook-docs

Conversation

@dhruva-reddy
Copy link
Copy Markdown
Contributor

Description

  • Fix stray four-backtick code fence after the "Default behavior" section in fern/assistants/assistant-hooks.mdx that swallowed the subsequent heading and code block
  • Fix mismatched closing fence (four backticks instead of three) on the "Multiple hooks for different ranges" JSON example
  • These two issues caused the "Multiple hooks for different ranges" section to not render correctly on the published docs page

Testing Steps

  • Run fern check — passes with 0 errors
  • Verified the page renders correctly in local fern docs dev preview at http://localhost:3000/assistants/assistant-hooks
  • Confirmed the "Default behavior" bullet list, "Multiple hooks for different ranges" heading, and JSON code block all render as expected

The call.timeElapsed hook exists in the codebase but was missing from
documentation. This adds full documentation including basic usage,
call discipline patterns with graceful wrap-up, and system message
injection for guiding LLM behavior at specific time points.
Remove stray four-backtick fence and fix mismatched closing fence
in the low confidence transcripts section, which prevented the
"Multiple hooks for different ranges" heading and code block from
rendering.
@dhruva-reddy dhruva-reddy merged commit b9626d0 into main Apr 10, 2026
6 checks passed
@dhruva-reddy dhruva-reddy deleted the dr/add-time-elapsed-hook-docs branch April 10, 2026 00:15
@github-actions
Copy link
Copy Markdown
Contributor

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