Complete the core operation execution cutover
This commit is contained in:
@@ -32,7 +32,7 @@ func TestExtractReturnsCanonicalNPCRegistryFromPrivateResponse(t *testing.T) {
|
||||
|
||||
callRequest := extractionRequest()
|
||||
var prepared promptkit.PreparedRun
|
||||
callRequest.Operation.Execution.OnPrepared = func(_ context.Context, value promptkit.PreparedRun) { prepared = value }
|
||||
callRequest.Execution.Execution.OnPrepared = func(_ context.Context, value promptkit.PreparedRun) { prepared = value }
|
||||
result, err := runExtraction(context.Background(), newExtractor(t, client), callRequest)
|
||||
if err != nil {
|
||||
t.Fatalf("Extract() error = %v, want nil", err)
|
||||
@@ -185,7 +185,7 @@ func TestExtractRetainsLocalErrorContextAndProviderFailures(t *testing.T) {
|
||||
for _, test := range []struct {
|
||||
name string
|
||||
extractor *extractionFixture
|
||||
req contracts.TypedExtractionRequest[dnd.NPCRegistry]
|
||||
req extractionTestInput
|
||||
want string
|
||||
}{
|
||||
{name: "nil extractor", extractor: nilExtractor, req: request, want: "extractor"},
|
||||
|
||||
Reference in New Issue
Block a user