mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-17 17:34:39 +08:00
v2
This commit is contained in:
12
agent/user_facing_prompt_test.go
Normal file
12
agent/user_facing_prompt_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package agent
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestCleanUserFacingReplyInstruction(t *testing.T) {
|
||||
if cleanUserFacingReplyInstruction == "" {
|
||||
t.Fatal("expected clean user-facing reply instruction to be defined")
|
||||
}
|
||||
if got, want := cleanUserFacingReplyInstruction, "Your final reply must be clean and easy to understand, with no fluff, no internal jargon, and no unnecessary explanation."; got != want {
|
||||
t.Fatalf("unexpected instruction\nwant: %q\ngot: %q", want, got)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user