MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestMatchAgentProfile_Unknown

Function TestMatchAgentProfile_Unknown

internal/sessions/transfer_test.go:356–364  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

354}
355
356func TestMatchAgentProfile_Unknown(t *testing.T) {
357 p := MatchAgentProfile("some-random-agent/1.0")
358 if p.Name != "default" {
359 t.Errorf("expected default, got %s", p.Name)
360 }
361 if p.ChunkSizeBytes != 7000 {
362 t.Errorf("expected default chunk 7000, got %d", p.ChunkSizeBytes)
363 }
364}
365
366// ===================================================================
367// C. Tool Selection Tests (per agent)

Callers

nothing calls this directly

Calls 1

MatchAgentProfileFunction · 0.85

Tested by

no test coverage detected