Expand module contracts for references and normalizer LLM access
This commit is contained in:
@@ -1961,6 +1961,10 @@ func (fakeRunChunker) Key() string {
|
||||
return "generic"
|
||||
}
|
||||
|
||||
func (fakeRunChunker) ReferenceSlots() []contracts.ReferenceSlot {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (fakeRunChunker) Chunk(ctx context.Context, req contracts.ChunkRequest) (contracts.ChunkResult, error) {
|
||||
return contracts.ChunkResult{
|
||||
Chunks: []contracts.SourceChunk{
|
||||
@@ -2024,6 +2028,10 @@ func (fakeRunNormalizer) Key() string {
|
||||
return "noop"
|
||||
}
|
||||
|
||||
func (fakeRunNormalizer) ReferenceSlots() []contracts.ReferenceSlot {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (fakeRunNormalizer) Normalize(ctx context.Context, req contracts.NormalizeRequest) (contracts.NormalizeResult, error) {
|
||||
return contracts.NormalizeResult{Candidates: append([]artifacts.ArtifactCandidate(nil), req.Candidates...)}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user