Configure correction repair profiles and budgets
This commit is contained in:
@@ -61,6 +61,8 @@ configuration.
|
||||
| --- | --- | --- |
|
||||
| `llm.proposal_profile` | unset | PromptKit profile for proposals; required for processing entries. |
|
||||
| `llm.validation_profile` | effective proposal profile | Profile for model validation; null clears a selection before fallback. |
|
||||
| `llm.correction_repair_profile` | effective proposal profile | Profile for correction repair; null clears an inherited selection before fallback. |
|
||||
| `llm.correction_repair_attempts` | `1` | Nonnegative repair attempts per correction; zero disables correction repair. |
|
||||
| `llm.transient_retries` | `2` | Additional transient attempts per generation. |
|
||||
| `llm.repair_attempts` | `2` | Structural repairs, from zero through three. |
|
||||
| `llm.operation_timeout` | `15m` | Positive duration per logical operation. |
|
||||
@@ -77,6 +79,9 @@ configuration.
|
||||
|
||||
Processing profiles are selected explicitly; no profile or glossary is selected
|
||||
automatically. The validation selection falls back after root and per-entry
|
||||
settings are combined. Null does not disable validation. Numeric zero and false
|
||||
settings are combined. An explicit root correction repair profile is inherited
|
||||
by each entry unless overridden or cleared with null; otherwise the entry uses
|
||||
its effective proposal profile. The repair profile is checked only when its
|
||||
attempt budget is positive. Null does not disable validation. Numeric zero and false
|
||||
retain their field meaning, subject to validation. Inspect recorded origins and
|
||||
default dependencies using the [native commands](cli.md).
|
||||
|
||||
@@ -139,6 +139,8 @@ validator responses remains [deferred](future.md#domain-aware-response-recovery)
|
||||
|
||||
## Stage 4 — Resolve configuration and wire the repair role
|
||||
|
||||
**Completed.**
|
||||
|
||||
1. In `internal/core/config`, add `llm.correction_repair_attempts` as a
|
||||
nonnegative integer, default `1`, and `llm.correction_repair_profile` as an
|
||||
optional profile selection. Reuse the stage `llm` block. Omitted stage
|
||||
|
||||
Reference in New Issue
Block a user