Adopt PromptKit v0.23.0 conversations and execution accounting
This commit is contained in:
@@ -115,7 +115,7 @@ func TestRoleClientExecutionBudgetsAndFailureClasses(t *testing.T) {
|
||||
capturing := request
|
||||
capturing.CaptureExchange = true
|
||||
response, err := client.CompleteStructured(context.Background(), capturing, &result)
|
||||
if tc.success && (response.Exchange == nil || response.Exchange.FinalContent != tc.outputs[len(tc.outputs)-1]) {
|
||||
if tc.success && (response.Exchange == nil || response.FinalContent != tc.outputs[len(tc.outputs)-1]) {
|
||||
t.Fatalf("captured final response: %+v", response.Exchange)
|
||||
}
|
||||
if (err == nil) != tc.success || calls != tc.wantCalls {
|
||||
|
||||
Reference in New Issue
Block a user