mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-03 13:55:36 +02:00
Update settings.js
Updated settings with the new features
This commit is contained in:
parent
21ad69693f
commit
87e2e708fd
1 changed files with 23 additions and 13 deletions
36
settings.js
36
settings.js
|
@ -7,7 +7,7 @@ const settings = {
|
|||
// the mindserver manages all agents and hosts the UI
|
||||
"host_mindserver": true, // if true, the mindserver will be hosted on this machine. otherwise, specify a public IP address
|
||||
"mindserver_host": "localhost",
|
||||
"mindserver_port": 8080,
|
||||
"mindserver_port": 8081,
|
||||
|
||||
// the base profile is shared by all bots for default prompts/examples/modes
|
||||
"base_profile": "./profiles/defaults/survival.json", // also see creative.json, god_mode.json
|
||||
|
@ -26,15 +26,15 @@ const settings = {
|
|||
// using more than 1 profile requires you to /msg each bot indivually
|
||||
// individual profiles override values from the base profile
|
||||
],
|
||||
"load_memory": false, // load memory from previous session
|
||||
"load_memory": true, // load memory from previous session
|
||||
"init_message": "Respond with hello world and your name", // sends to all on spawn
|
||||
"only_chat_with": [], // users that the bots listen to and send general messages to. if empty it will chat publicly
|
||||
"language": "en", // translate to/from this language. Supports these language names: https://cloud.google.com/translate/docs/languages
|
||||
"show_bot_views": false, // show bot's view in browser at localhost:3000, 3001...
|
||||
|
||||
"allow_insecure_coding": false, // allows newAction command and model can write/run code on your computer. enable at own risk
|
||||
"allow_vision": false, // allows vision model to interpret screenshots as inputs
|
||||
"vision_mode": "prompted", // "off", "prompted", or "always"
|
||||
"allow_insecure_coding": true, // allows newAction command and model can write/run code on your computer. enable at own risk
|
||||
"allow_vision": true, // allows vision model to interpret screenshots as inputs
|
||||
"vision_mode": "always", // "off", "prompted", or "always"
|
||||
"blocked_actions" : ["!checkBlueprint", "!checkBlueprintLevel", "!getBlueprint", "!getBlueprintLevel"] , // commands to disable and remove from docs. Ex: ["!setMode"]
|
||||
"code_timeout_mins": -1, // minutes code is allowed to run. -1 for no timeout
|
||||
"relevant_docs_count": 5, // number of relevant code function docs to select for prompting. -1 for all
|
||||
|
@ -46,15 +46,25 @@ const settings = {
|
|||
"narrate_behavior": true, // chat simple automatic actions ('Picking up item!')
|
||||
"chat_bot_messages": true, // publicly chat messages to other bots
|
||||
|
||||
"stt_transcription": false, // change this to "true" or "false" depending on if you want STT in Mindcraft, STT needs a GroqCloud API key, can be found here: https://console.groq.com/keys
|
||||
"stt_username": "SYSTEM", // Change this to the username the model will respond to.
|
||||
"stt_agent_name": "", // Change the name here to whatever your agent is named, if left empty, will send message to all agents.
|
||||
"speak": false, // allows all bots to speak through system text-to-speech. works on windows, mac, on linux you need to `apt install espeak`
|
||||
|
||||
"log_normal_data": false, // Logs all inputs / outputs without reasoning or vision data
|
||||
"log_reasoning_data": false, // Logs only reasoning inputs / outputs
|
||||
"log_vision_data": false, // Logs only vision inputs / outputs
|
||||
"speak": true, // enable text-to-speech
|
||||
"stt_transcription": true, // enable speech-to-text transcription
|
||||
"stt_username": "SERVER", // username for STT messages
|
||||
"stt_agent_name": "", // agent name for STT messages, if empty it will send the STT to all bots
|
||||
|
||||
// STT Audio Detection Settings
|
||||
"stt_rms_threshold": 8000, // Higher = less sensitive to background noise
|
||||
"stt_silence_duration": 2000, // 2 seconds of silence before stopping
|
||||
"stt_min_audio_duration": 0.5, // Minimum audio duration in seconds
|
||||
"stt_max_audio_duration": 15, // Maximum audio duration in seconds
|
||||
"stt_debug_audio": false, // Enable to see audio levels and tune threshold
|
||||
"stt_cooldown_ms": 2000, // Minimum time between recordings (increased)
|
||||
"stt_speech_threshold_ratio": 0.15, // Percentage of samples that must be above threshold to consider it speech
|
||||
"stt_consecutive_speech_samples": 5, // Consecutive samples above threshold before considering it speech
|
||||
|
||||
"log_normal_data": true, // Logs all inputs / outputs without reasoning or vision data
|
||||
"log_reasoning_data": true, // Logs only reasoning inputs / outputs
|
||||
"log_vision_data": true, // Logs only vision inputs / outputs
|
||||
|
||||
}
|
||||
|
||||
// these environment variables override certain settings
|
||||
|
|
Loading…
Add table
Reference in a new issue