Skip to content

Self-hosted workflows for coding-agent delivery. Orchestrate CodeBuddy, Codex and Claude Code with scripts and human approval gates. Includes Local workflows for coding assistants.

412 B
Raw Blame
package httpapi

import (
	"os"
	"testing"
)

// Tests isolate assistant state by pointing AGENTFLOW_ASSISTANT_SESSION_DIR at
// a temporary directory. Conversation roots follow it only while
// AGENTFLOW_CONVERSATION_DIR is unset, so a value from the shell would send
// them to a real directory shared by every test.
func TestMain(m *testing.M) {
	os.Unsetenv("AGENTFLOW_CONVERSATION_DIR")
	os.Exit(m.Run())
}