mirror of
https://github.com/luckyyzh/pi-agent-integrated.git
synced 2026-10-03 11:09:34 +00:00
46 lines
2.0 KiB
Bash
46 lines
2.0 KiB
Bash
# Copy this file to .env and fill only the services you use.
|
|
# .env is ignored by Git and loaded automatically by the managed launcher.
|
|
|
|
# Optional repository-local SearXNG extension. Both values are required when enabled.
|
|
SEARXNG_URL=
|
|
SEARXNG_TOKEN=
|
|
|
|
# Optional public URL reported by pi-agent-public.ps1 (e.g. your own tunnel domain).
|
|
PI_AGENT_PUBLIC_URL=
|
|
|
|
# Optional SSH reverse-tunnel command for public access, run as a scheduled task
|
|
# by pi-agent-public.ps1 (registered only when set). Example for an "aliyun" host
|
|
# in ~/.ssh/config forwarding remote 8090 to local 30141:
|
|
# PI_AGENT_TUNNEL_COMMAND=C:\WINDOWS\System32\OpenSSH\ssh.exe -n -N -T -o BatchMode=yes -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -R 127.0.0.1:8090:127.0.0.1:30141 aliyun
|
|
|
|
# Optional higher Context7 quota. Context7 also works at its public unauthenticated limit.
|
|
CONTEXT7_API_KEY=
|
|
|
|
# Optional built-in model-provider credentials. The Web UI can also configure providers.
|
|
ANTHROPIC_API_KEY=
|
|
OPENAI_API_KEY=
|
|
GEMINI_API_KEY=
|
|
|
|
# pi-memory runs in lightweight Markdown-only mode by default. This keeps
|
|
# durable facts, daily logs, scratchpad, and recovery without qmd/model downloads.
|
|
# Set both values below only after installing and configuring qmd yourself.
|
|
# PI_MEMORY_NO_SEARCH=0
|
|
# PI_MEMORY_QMD_UPDATE=background
|
|
|
|
# Optional: move mutable runtime data while retaining the same isolation model.
|
|
# macOS/Linux: PI_AGENT_DATA_DIR=/path/to/pi-agent-data
|
|
# Windows PowerShell: PI_AGENT_DATA_DIR=D:\path\to\pi-agent-data
|
|
|
|
# macOS setup does not install or enable Playwright by default. Add it manually
|
|
# through the MCP panel if browser automation is needed.
|
|
|
|
# Optional storage ceilings. Automatic maintenance runs before Pi Web starts,
|
|
# removes only rebuildable caches that exceed these limits, compacts Rewind Git
|
|
# data, and removes orphan checkpoints after the grace period.
|
|
# PI_STORAGE_AUTO_MAINTENANCE=1
|
|
# PI_STORAGE_NEXT_DEV_MAX_MB=640
|
|
# PI_STORAGE_NEXT_CACHE_MAX_MB=256
|
|
# PI_STORAGE_NPM_CACHE_MAX_MB=256
|
|
# PI_STORAGE_ORPHAN_GRACE_DAYS=7
|
|
# PI_STORAGE_REWIND_GC_OBJECTS=1000
|