hendrik/config.default.yaml
2026-10-06 16:29:31 +07:00

65 lines
2.6 KiB
YAML

# Copy and edit this file to `config.yaml`
agent:
character : hendrik # Directory name in agent/characters/<character>/
max_iterations : 40 # step(s)
max_history_chat : 0 # message(s) - 0 for unlimited (Dead Config)
max_tool_output : 0 # character(s) - 0 for unlimited (Connected to AGENT_MAX_TOOL_OUTPUT but Dead Config)
user:
id: # Fill your user UUID here, empty = TUI/MUC guest
llm:
timeout: 3000 # second
moop: # Model Option
db_path: "~/.config/hendrik/moop.sqlite3"
asr: # Speech-to-Text (push-to-talk TUI). Model dikelola via moop tipe 'asr'.
record_dir : "~/.config/hendrik/recordings" # lokasi file hasil rekaman
record_key : f9 # tombol push-to-talk (f1..f12 / ctrl-<huruf>)
record_backend : pulse # ffmpeg input: pulse | alsa | oss | windows
device : default # nama device input
windows_mic : "" # backend=windows: nama device dshow,
# contoh "Microphone Array (Realtek(R) Audio)"
format : wav # wav | ogg (opus)
sample_rate : 16000 # Hz
channels : 1
max_seconds : 60 # auto-stop pengaman
transcribe_timeout: 60 # detik timeout request ASR
keep_recordings : true # false = hapus file setelah ditranskrip
session: # Chat session
db_path: "~/.config/hendrik/sessions.json"
ragroleplay: # Use nomic-embed-text
db_path : "~/.config/hendrik/ragroleplay"
vector_size : 768 # used on table create only
delay: # Humanize Delay (anti-bot detection)
read_min : 1.0 # second
read_max : 2.0 # second
typing_speed : 15.0 # character(s) per second
typing_max : 10.0 # max typing delay limit per second
xmpp:
enabled: false
username: ""
password: ""
muc_rooms: # YAML list, e.g.:
# - "room1@conference.server"
# - "room2@conference.server"
nickname: "" # custom MUC nickname (empty = use username)
selective_response: true # true = only response if mentioned/relevant
debug: false # true = tampilkan log debug menyeluruh (semua stanza XML, lifecycle, dll)
mute_session_end: false # true = tidak kirim pesan saat sesi berakhir (timeout)
telegram:
enabled: false
token: ""
allowed_group_ids: # YAML list, empty = all group. e.g.:
# - "123456789"
# - "987654321"
selective_response: true # true = only response if mentioned/relevant
mute_session_end: false # true = tidak kirim pesan saat sesi berakhir (timeout)