Initial commit
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Copy this file to `config.toml` and edit. The path can be overridden with
|
||||
# the MESHBOT_CONFIG environment variable. Any field can be overridden with
|
||||
# environment variables of the form MESHBOT_<SECTION>__<KEY>, e.g.
|
||||
# MESHBOT_LLM__BASE_URL=http://llama:8080/v1
|
||||
# MESHBOT_MESHCORE__SERIAL_PORT=/dev/ttyACM0
|
||||
|
||||
[meshcore]
|
||||
serial_port = "/dev/ttyUSB0"
|
||||
baud_rate = 115200
|
||||
|
||||
[llm]
|
||||
base_url = "http://localhost:8080/v1"
|
||||
api_key = "not-needed"
|
||||
model = "llama-3.1-8b-instruct"
|
||||
system_prompt = "You are a concise assistant on a low-bandwidth mesh radio. Replies must be brief — under 180 bytes."
|
||||
temperature = 0.7
|
||||
request_timeout_seconds = 60
|
||||
|
||||
[storage]
|
||||
sqlite_path = "data/meshbot.db"
|
||||
|
||||
[message]
|
||||
# MeshCore MAX_PACKET_PAYLOAD is 184 bytes. Lower this if your text-frame
|
||||
# headers further constrain the usable payload on your device.
|
||||
max_bytes = 184
|
||||
Reference in New Issue
Block a user