The store now starts empty and agents are added/removed exclusively through the web admin page / admin API, persisted to AGENTS_FILE. No AGENTS env var needed in the sops secret.
8 lines
393 B
Elixir
8 lines
393 B
Elixir
import Config
|
|
|
|
# Test environment: the app starts with an empty agent store (no AGENTS env
|
|
# seeding — agents are managed via the admin API). ADAPTER_API_KEY /
|
|
# ADMIN_API_KEY are set in test/test_helper.exs. AGENTS_FILE must be set HERE
|
|
# (config loads before the app boots) to a writable tmp path.
|
|
System.put_env("AGENTS_FILE", Path.join(System.tmp_dir!(), "n8n-openai-test-agents.json"))
|