Skip to content

Commit b9626d0

Browse files
authored
fix: repair broken code fences in assistant hooks page (#1018)
* feat: document call.timeElapsed hook for assistant hooks 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. * fix: repair broken code fences in assistant hooks page 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.
1 parent 1fcb51c commit b9626d0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

fern/assistants/assistant-hooks.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,6 @@ For example, if your transcriber has a `confidenceThreshold` of 0.4:
483483
- Transcripts with confidence 0.2-0.4: Hook triggers
484484
- Transcripts with confidence < 0.2: Discarded
485485

486-
````
487-
488486
### Multiple hooks for different ranges
489487

490488
You can configure multiple hooks to handle different confidence ranges with different actions:
@@ -512,7 +510,7 @@ You can configure multiple hooks to handle different confidence ranges with diff
512510
}
513511
]
514512
}
515-
````
513+
```
516514

517515
<Note>
518516
The `assistant.transcriber.endpointedSpeechLowConfidence` hook supports these options:

0 commit comments

Comments
 (0)