Connect processing to shared PromptKit backend capacity
This commit is contained in:
@@ -15,11 +15,6 @@ import (
|
||||
|
||||
type StructuredLLMClient = structuredoutput.Client
|
||||
|
||||
// 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
|
||||
@@ -74,9 +69,8 @@ type ExecutionContext struct {
|
||||
// ProposalRequest is the input to module proposal generation.
|
||||
type ProposalRequest struct {
|
||||
ExecutionContext
|
||||
RunSpec ModuleRunSpec `json:"run_spec"`
|
||||
LLMClient StructuredLLMClient `json:"-"`
|
||||
LLMScheduler LLMScheduler `json:"-"`
|
||||
RunSpec ModuleRunSpec `json:"run_spec"`
|
||||
LLMClient StructuredLLMClient `json:"-"`
|
||||
}
|
||||
|
||||
type ProposalResult struct {
|
||||
|
||||
Reference in New Issue
Block a user