Use native contexts for execution observation
This commit is contained in:
@@ -60,11 +60,9 @@ type ProducerControls struct {
|
||||
}
|
||||
|
||||
// ExecutionOptions carries native request options, not a completion protocol.
|
||||
// Observer closures shared by concurrent operations must synchronize their state.
|
||||
type ExecutionOptions struct {
|
||||
Execution *promptkit.ExecutionTargetOverride
|
||||
TransientRetries *int
|
||||
Observer promptkit.ExecutionObserver `json:"-"`
|
||||
OnPrepared func(context.Context, promptkit.PreparedRun) `json:"-"`
|
||||
Capture EvidenceWriter `json:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user