Complete Phase 11 proposal generation framework
This commit is contained in:
@@ -17,6 +17,11 @@ type StructuredLLMClient interface {
|
||||
CompleteStructured(ctx context.Context, req StructuredCompletionRequest, out any) (StructuredCompletionResponse, error)
|
||||
}
|
||||
|
||||
// LLMScheduler provides bounded execution for LLM call sites.
|
||||
type LLMScheduler interface {
|
||||
Run(ctx context.Context, fn func(context.Context) error) error
|
||||
}
|
||||
|
||||
// TranscriptModule is the minimal contract for framework-integrated modules.
|
||||
type TranscriptModule interface {
|
||||
Key() string
|
||||
@@ -92,8 +97,9 @@ type ExecutionContext struct {
|
||||
// ProposalRequest is the input to module proposal generation.
|
||||
type ProposalRequest struct {
|
||||
ExecutionContext
|
||||
RunSpec ModuleRunSpec `json:"run_spec"`
|
||||
LLMClient StructuredLLMClient `json:"-"`
|
||||
RunSpec ModuleRunSpec `json:"run_spec"`
|
||||
LLMClient StructuredLLMClient `json:"-"`
|
||||
LLMScheduler LLMScheduler `json:"-"`
|
||||
}
|
||||
|
||||
// ValidationRequest is the input to validator execution.
|
||||
|
||||
Reference in New Issue
Block a user