mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-13 11:40:53 +08:00
Norma v0.4.6 frames tool output between nonce-tagged markers, so the model reads it as data. ARTEX passes that option from the environment: 1, true or on enable it (case and surrounding spaces ignored); unset or anything else keeps it off, which is the default. Nothing changes unless the variable is set. The option is wired into the four agentcore.Options builders that set ToolOutputDir: worker, planner, chat and the main agent. .env.example documents the variable, commented out, with a note to test it on a local target before enabling it in production. Not included: docker-compose.yml does not pass the variable to the artex service, so it has no effect under compose until it is listed there.
25 lines
1.0 KiB
Bash
25 lines
1.0 KiB
Bash
# Docker deployment configuration (copy to .env)
|
|
# The image is built locally by `docker compose build`; there is no registry tag.
|
|
# Address the web UI is published on. 127.0.0.1 keeps it host-local; set 0.0.0.0
|
|
# to reach it from another machine or from Windows when ARTEX runs inside WSL.
|
|
ARTEX_BIND_ADDR=127.0.0.1
|
|
# Reverse proxies (comma-separated CIDRs) whose X-Forwarded-For the login rate
|
|
# limit trusts. Empty: the header is ignored. See "Reverse proxy deployment" in README.md.
|
|
ARTEX_TRUSTED_PROXIES=
|
|
POSTGRES_USER=artex
|
|
POSTGRES_PASSWORD=change-me-please
|
|
POSTGRES_DB=artex
|
|
|
|
# LLM (fill one or both; you can also leave empty and configure in the UI)
|
|
ANTHROPIC_API_KEY=
|
|
OPENAI_API_KEY=
|
|
ARTEX_LLM_PROVIDER=
|
|
ARTEX_LLM_MODEL=
|
|
ARTEX_LLM_BASE_URL=
|
|
ARTEX_LLM_PROXY=
|
|
|
|
# Untrusted-output boundary (optional). ARTEX_UNTRUSTED_BOUNDARY=1 frames every tool
|
|
# output between nonce-tagged markers so the model treats it as data, not instructions.
|
|
# Off by default; test it against a local target before enabling it in production.
|
|
# ARTEX_UNTRUSTED_BOUNDARY=1
|