From 75f53b24b6f8b6116195058cd9a2f34fbec65a88 Mon Sep 17 00:00:00 2001 From: Sarah Wooders Date: Wed, 28 Jan 2026 22:53:11 -0800 Subject: [PATCH] Add example config file, gitignore secrets --- .gitignore | 4 ++++ lettabot.example.yaml | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 lettabot.example.yaml diff --git a/.gitignore b/.gitignore index fdb4a16..c43f483 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,7 @@ letta-code-sdk/ # WhatsApp session (contains credentials) data/whatsapp-session/ + +# Config with secrets +lettabot.yaml +lettabot.yml diff --git a/lettabot.example.yaml b/lettabot.example.yaml new file mode 100644 index 0000000..fa15fa7 --- /dev/null +++ b/lettabot.example.yaml @@ -0,0 +1,52 @@ +# LettaBot Configuration +# Copy this to lettabot.yaml and fill in your values. +# +# Server modes: +# - 'cloud': Use Letta Cloud (api.letta.com) with API key +# - 'selfhosted': Use self-hosted Letta server + +server: + mode: cloud + # For cloud mode, set your API key (get one at https://app.letta.com): + apiKey: sk-let-YOUR-API-KEY + # For selfhosted mode, uncomment and set the base URL: + # mode: selfhosted + # baseUrl: http://localhost:8283 + +agent: + name: LettaBot + # Model to use: + # - Free plan: zai/glm-4.7, minimax/MiniMax-M1-80k + # - BYOK: lc-anthropic/claude-sonnet-4-5-20250929, lc-openai/gpt-5.2 + model: zai/glm-4.7 + +# BYOK Providers (optional, cloud mode only) +# These will be synced to Letta Cloud on startup +# providers: +# - id: anthropic +# name: lc-anthropic +# type: anthropic +# apiKey: sk-ant-YOUR-ANTHROPIC-KEY +# - id: openai +# name: lc-openai +# type: openai +# apiKey: sk-YOUR-OPENAI-KEY + +channels: + telegram: + enabled: true + token: YOUR-TELEGRAM-BOT-TOKEN + dmPolicy: pairing # 'pairing', 'allowlist', or 'open' + # slack: + # enabled: true + # appToken: xapp-... + # botToken: xoxb-... + # whatsapp: + # enabled: true + # selfChat: false + +features: + cron: false + heartbeat: + enabled: false + intervalMin: 30