- Add send_image tool: fetches image from URL and posts it inline in Discord chat - Harden _ensure_user_tail: inject/fix user message whenever last message is not a non-empty user message (catches empty content from stripped thinking tags) - Fix life sim: fallback chain for empty thinking-tag-stripped responses so user messages are never empty; add _ensure_user_tail before each LLM call - Add _agent_active flag: background tasks skip when run_agent is active, preventing model contention when two different models are configured - Add reload_personality tool, fetch_url improvements, misc system prompt updates - Persist channel_history.json via docker-compose volume Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
31 lines
919 B
YAML
31 lines
919 B
YAML
services:
|
|
discordbot:
|
|
build: .
|
|
restart: on-failure
|
|
deploy:
|
|
restart_policy:
|
|
condition: on-failure
|
|
delay: 10s
|
|
max_attempts: 5
|
|
window: 120s
|
|
env_file: .env
|
|
volumes:
|
|
- ./dossiers.json:/app/dossiers.json
|
|
- ./personality.txt:/app/personality.txt
|
|
- ./reflection_log.txt:/app/reflection_log.txt
|
|
- ./personality_changelog.txt:/app/personality_changelog.txt
|
|
- ./reflection_notes.txt:/app/reflection_notes.txt
|
|
- ./used_topics.json:/app/used_topics.json
|
|
- ./life_events.json:/app/life_events.json
|
|
- ./used_life_events.json:/app/used_life_events.json
|
|
- ./life_history.txt:/app/life_history.txt
|
|
- ./life_sim_log.txt:/app/life_sim_log.txt
|
|
- ./channel_history.json:/app/channel_history.json
|
|
networks:
|
|
- litellm_net
|
|
|
|
networks:
|
|
litellm_net:
|
|
external: true
|
|
name: aiplayground_litellm_internal
|