Define typed producer assessment and native execution dependencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"gitea.maximumdirect.net/eric/notarius/internal/framework/pipeline"
|
||||
"gitea.maximumdirect.net/eric/notarius/internal/framework/contracts"
|
||||
"go.maximumdirect.net/promptkit"
|
||||
)
|
||||
|
||||
@@ -19,9 +19,9 @@ type Document struct {
|
||||
}
|
||||
|
||||
type PipelineDocument struct {
|
||||
Mode *pipeline.ExecutionMode `yaml:"mode,omitempty"`
|
||||
Mode *contracts.ExecutionMode `yaml:"mode,omitempty"`
|
||||
MaxAdditionalTurns *int `yaml:"max_additional_turns,omitempty"`
|
||||
Cache *pipeline.CacheMode `yaml:"cache,omitempty"`
|
||||
Cache *contracts.CacheMode `yaml:"cache,omitempty"`
|
||||
LLMProfile *string `yaml:"llm_profile,omitempty"`
|
||||
Input BindingDocument `yaml:"input"`
|
||||
Chunk *BindingDocument `yaml:"chunk,omitempty"`
|
||||
@@ -49,9 +49,9 @@ type ArtifactLaneDocument struct {
|
||||
// deliberately finite subset so nested validator-only fields are rejected by
|
||||
// ConfigKit's strict decoder.
|
||||
type BindingDocument struct {
|
||||
Mode *pipeline.ExecutionMode `yaml:"mode,omitempty"`
|
||||
Mode *contracts.ExecutionMode `yaml:"mode,omitempty"`
|
||||
MaxAdditionalTurns *int `yaml:"max_additional_turns,omitempty"`
|
||||
Cache *pipeline.CacheMode `yaml:"cache,omitempty"`
|
||||
Cache *contracts.CacheMode `yaml:"cache,omitempty"`
|
||||
Module string `yaml:"module"`
|
||||
LLMProfile *string `yaml:"llm_profile,omitempty"`
|
||||
Options map[string]any `yaml:"options,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user