docs(llm-replay): cover the patches form in the overrideFile contract

The ReplayConfig.overrideFile JSDoc still described only whole-script
replacement; it now names both sidecar forms and links ReplayOverrideDoc
(config catalog regenerated: source line shifted).
This commit is contained in:
Tianyi Cui
2026-07-26 03:31:21 +08:00
parent 2828e0462d
commit 90d91c3cf9
2 changed files with 6 additions and 5 deletions

View File

@@ -688,7 +688,7 @@ export interface ReplayModelConfig {
} }
``` ```
Source: [`packages/support/llm-replay/src/index.ts:496`](../packages/support/llm-replay/src/index.ts) Source: [`packages/support/llm-replay/src/index.ts:497`](../packages/support/llm-replay/src/index.ts)
## `@deepseek-ai/dsh-llm-retry` ## `@deepseek-ai/dsh-llm-retry`

View File

@@ -59,10 +59,11 @@ export interface ReplayConfig {
*/ */
file: string file: string
/** /**
* Optional `ReplayEntry[]` sidecar that REPLACES the derived script for the * Optional sidecar for the PRIMARY session: a bare `ReplayEntry[]` REPLACES
* PRIMARY session. Used by the two single-session scenarios not expressible as * the derived script; `{ patches }` keeps it and swaps the named call
* `assistant/chunk` (pure throw-before-chunk, cancel/hang). Absent for normal * indexes ({@link ReplayOverrideDoc}). Used by single-session scenarios not
* and nested scenarios. * expressible as `assistant/chunk` (throw-before-chunk, cancel/hang,
* injected transient failures). Absent for normal and nested scenarios.
*/ */
overrideFile?: string overrideFile?: string
/** /**