Reject empty and truncated answers and expose complete tool calls
This commit is contained in:
1 parent
019a38f111
commit
3ca0994437
14 files changed
+278
-7
No files matched your search
@@ -30,7 +30,7 @@ func TestRunLifecycleStartFailureAndFinishCannotChangeOutcome(t *testing.T) {
|
||||
t.Error("finish unbounded")
|
||||
}
|
||||
panic("observer cannot rewrite outcome")
|
||||
}}, []llm.ChatEvent{{Type: llm.EventDone}}, nil)
|
||||
}}, []llm.ChatEvent{{Type: llm.EventTextDelta, Text: "Answer"}, {Type: llm.EventDone}}, nil)
|
||||
defer rt.Close()
|
||||
defer rt.Session.Close()
|
||||
failed := false
|
||||
|
||||
Reference in new issue
Block a user