Delete internal directory

This commit is contained in:
公明 authored and GitHub committed 2026-08-18 20:14:29 +08:00
1 parent 910d07ea0a
commit 55ee5fbac9
589 files changed
-136501

No files matched your search

-14
View File
@@ -1,14 +0,0 @@
package knowledge
import "testing"
func TestFormatQueryEmbeddingText_AlignsWithIndexPrefix(t *testing.T) {
q := FormatQueryEmbeddingText("XSS", "payload")
want := FormatEmbeddingInput("XSS", "", "payload")
if q != want {
t.Fatalf("query embed text mismatch:\n got: %q\nwant: %q", q, want)
}
if FormatQueryEmbeddingText("", "hello") != "hello" {
t.Fatalf("expected bare query without risk type")
}
}