Expose ordinary run execution observations

This commit is contained in:
2026-09-23 17:11:09 +00:00
parent be07f6d873
commit 0e1ad784d1
10 changed files with 494 additions and 6 deletions

View File

@@ -143,6 +143,9 @@ type RunRequest struct {
// Negative values are invalid for Prepare, PrepareExecution, and Run.
// Injected LLMClient implementations remain single-dispatch.
TransientRetries *int
// Observer receives metadata about this Run invocation synchronously. It is
// excluded from JSON and is not invoked by Prepare or PrepareExecution.
Observer ExecutionObserver `json:"-"`
}
// PreparedRun contains prepared prompt execution state returned by