MCPcopy Create free account
hub / github.com/aurora-develop/aurora / TestBuildInstructionsForcedNone

Function TestBuildInstructionsForcedNone

internal/toolcall/parser_test.go:367–376  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

365}
366
367func TestBuildInstructionsForcedNone(t *testing.T) {
368 tools := []official.Tool{
369 {Type: "function", Function: official.ToolFunction{Name: "bash"}},
370 }
371 choice := &official.ToolChoice{Type: "none"}
372 got := BuildInstructions(tools, choice)
373 if !strings.Contains(got, "DISABLED tool calling") {
374 t.Fatalf("missing none-warning: %s", got)
375 }
376}
377
378func TestFirstToolCallExamplePicksBash(t *testing.T) {
379 tools := []official.Tool{

Callers

nothing calls this directly

Calls 1

BuildInstructionsFunction · 0.85

Tested by

no test coverage detected