Skip to content

Commit 75718f8

Browse files
lx-0claude
andcommitted
chore: env.example — drop stale Redis stub, document CHARACTERS_DATA_DIR + retention
Redis was dropped as a backend dep in Phase 0 (over a year ago); the example was carrying placeholder env vars for it. Replace with the actual two missing env knobs that exist in app/core/config.py but weren't documented: - CHARACTERS_DATA_DIR — runtime user-proposed-character mount point - SCENE_SNAPSHOT_RETENTION — per-scene snapshot prune count LITELLM_BASE_URL + LITELLM_API_KEY were already documented (Phase 6a). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c7b93bc commit 75718f8

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.env.example

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@ SQLITE_URL=sqlite+aiosqlite:////data/sqlite/pixeltales.db # (default)
3636
#POSTGRES_DB=postgres
3737
#POSTGRES_SCHEMA=pixeltales
3838

39-
# Redis settings (for future use)
40-
#REDIS_HOST=redis
41-
#REDIS_PORT=6379
42-
#REDIS_DB=0
39+
# Character library — runtime data dir for user-proposed characters.
40+
# Container mounts /data/characters; local dev defaults to data/characters
41+
# relative to backend/. The seed library at app/agent/characters/ is always
42+
# scanned in addition to this dir.
43+
#CHARACTERS_DATA_DIR=/data/characters
44+
45+
# Scene state snapshot retention (per scene_id, default 10).
46+
# Each new snapshot prunes anything beyond the latest N. 0 disables.
47+
#SCENE_SNAPSHOT_RETENTION=10

0 commit comments

Comments
 (0)