mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-05-21 23:24:44 +02:00
Simplify configurator to essential config options
Reduced TUI menu to 10 core options: 1. Bot Settings 2. Connection 3. LLM Backend 4. Response Settings 5. Channels 6. History & Memory 7. Rate Limits 8. Web Status Page 9. Announcements 10. Setup Wizard Added fq51BBS-style save/restart options: - 11. Save (stay in menu) - 12. Save & Restart Bot (apply changes now) - 13. Save & Exit (save, restart, exit) - 14. Exit without Saving Removed from UI (still in code for future use): - Safety & Filtering - User Management - Commands/Custom Commands - Personality/Personas - Logging - Webhooks Simplified default config and example config to match. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1747edd150
commit
95b194967c
3 changed files with 70 additions and 697 deletions
|
|
@ -41,15 +41,6 @@ rate_limits:
|
|||
cooldown_seconds: 5.0
|
||||
burst_allowance: 3
|
||||
|
||||
logging:
|
||||
level: INFO
|
||||
file: /data/meshai.log
|
||||
max_size_mb: 10
|
||||
backup_count: 3
|
||||
log_messages: true
|
||||
log_responses: true
|
||||
log_api_calls: false
|
||||
|
||||
history:
|
||||
database: /data/conversations.db
|
||||
max_messages_per_user: 50
|
||||
|
|
@ -73,38 +64,6 @@ llm:
|
|||
You are a helpful assistant on a Meshtastic mesh network.
|
||||
Keep responses VERY brief - under 250 characters total.
|
||||
Be concise but friendly. No markdown formatting.
|
||||
retry_attempts: 2
|
||||
fallback_on_error: true
|
||||
fallback_on_timeout: true
|
||||
|
||||
safety:
|
||||
max_response_length: 250
|
||||
filter_profanity: false
|
||||
blocked_phrases: []
|
||||
require_mention: true
|
||||
ignore_self: true
|
||||
emergency_keywords:
|
||||
- emergency
|
||||
- help
|
||||
- sos
|
||||
|
||||
users:
|
||||
blocklist: []
|
||||
allowlist_only: false
|
||||
allowlist: []
|
||||
admin_nodes: []
|
||||
vip_nodes: []
|
||||
|
||||
commands:
|
||||
enabled: true
|
||||
prefix: "!"
|
||||
disabled_commands: []
|
||||
custom_commands: {}
|
||||
|
||||
personality:
|
||||
system_prompt: ""
|
||||
context_injection: ""
|
||||
personas: {}
|
||||
|
||||
web_status:
|
||||
enabled: false
|
||||
|
|
@ -122,28 +81,6 @@ announcements:
|
|||
channel: 0
|
||||
messages: []
|
||||
random_order: true
|
||||
|
||||
weather:
|
||||
primary: openmeteo
|
||||
fallback: llm
|
||||
default_location: ""
|
||||
openmeteo:
|
||||
url: https://api.open-meteo.com/v1
|
||||
wttr:
|
||||
url: https://wttr.in
|
||||
|
||||
integrations:
|
||||
weather:
|
||||
primary: openmeteo
|
||||
fallback: llm
|
||||
default_location: ""
|
||||
webhook:
|
||||
enabled: false
|
||||
url: ""
|
||||
events:
|
||||
- message_received
|
||||
- response_sent
|
||||
- error
|
||||
EOF
|
||||
echo "Default config created. Configure via http://localhost:7682"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue