Unify ready pipeline jobs under one worker pool and remove the global LLM scheduler
This commit is contained in:
@@ -16,7 +16,7 @@ type ConcurrencyConfig struct {
|
||||
Workers int `json:"workers"`
|
||||
}
|
||||
|
||||
const defaultWorkers = 64
|
||||
const defaultWorkers = pipeline.DefaultWorkers
|
||||
|
||||
type OutputConfig struct {
|
||||
Directory string `json:"directory"`
|
||||
|
||||
@@ -405,7 +405,7 @@ type effectiveExtractor struct{ key string }
|
||||
|
||||
func (m effectiveExtractor) Key() string { return m.key }
|
||||
func (m effectiveExtractor) ReferenceSlots() []contracts.ReferenceSlot { return nil }
|
||||
func (m effectiveExtractor) Extract(context.Context, contracts.TypedExtractionRequest) (contracts.TypedExtractionResult[effectiveArtifact], error) {
|
||||
func (m effectiveExtractor) Extract(context.Context, contracts.TypedExtractionRequest[effectiveArtifact]) (contracts.TypedExtractionResult[effectiveArtifact], error) {
|
||||
return contracts.TypedExtractionResult[effectiveArtifact]{}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user