INNER CODE UNIT · Go

TestAgentsShow_MemoryAllFields

jrswab/axe · cmd/agents_test.go:551

func TestAgentsShow_MemoryAllFields(t *testing.T) {
	agentsDir := setupTestAgentsDir(t)

	toml := `name = "mymem"
model = "anthropic/claude-sonnet-4-20250514"

[memory]
enabled = true
path = "/custom/memory.md"
last_n = 5
max_entries = 50
`
	writeTestAgent(t, agentsDir, "mymem", toml)

	buf := new(bytes.Buffer)
	rootCmd.SetOut(buf)
	rootCmd.SetErr(new(bytes.Buffer))
	rootCmd.SetArgs([]string{"agents", "show", "mymem"})

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…