Complete source index reuse across extractors
This commit is contained in:
@@ -26,6 +26,8 @@ func TestExtractReturnsCanonicalSpellListFromPrivateResponse(t *testing.T) {
|
||||
},
|
||||
}}}
|
||||
req := extractionRequest()
|
||||
index := source.NewDocumentIndex(req.Source)
|
||||
req.SourceIndex = &index
|
||||
var prepared promptkit.PreparedRun
|
||||
req.Execution.Execution.OnPrepared = func(_ context.Context, value promptkit.PreparedRun) { prepared = value }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user