/* * MimiClaw Build-time Secrets * * This is the ONLY way to configure MimiClaw. * Copy this file to mimi_secrets.h and fill in your values. * After any change, rebuild: idf.py fullclean && idf.py build * * cp mimi_secrets.h.example mimi_secrets.h */ #pragma once /* WiFi */ #define MIMI_SECRET_WIFI_SSID "" #define MIMI_SECRET_WIFI_PASS "" /* Telegram Bot */ #define MIMI_SECRET_TG_TOKEN "" /* Feishu Bot */ #define MIMI_SECRET_FEISHU_APP_ID "" #define MIMI_SECRET_FEISHU_APP_SECRET "" /* LLM Configuration * * Method 1: Generic API key (works for any provider) * Set MIMI_SECRET_API_KEY + MIMI_SECRET_MODEL_PROVIDER + MIMI_SECRET_MODEL * * Method 2: Provider-specific API keys (recommended for multi-provider setups) * Set MIMI_SECRET__API_KEY for each provider you want to use * Switch providers via onboard portal or CLI: set_model_provider * * Priority: NVS (runtime config) > provider-specific key > generic key */ #define MIMI_SECRET_API_KEY "" #define MIMI_SECRET_MODEL "claude-opus-4-5" #define MIMI_SECRET_MODEL_PROVIDER "anthropic" /* Anthropic (Claude) */ #define MIMI_SECRET_ANTHROPIC_API_KEY "" /* OpenAI (GPT) */ #define MIMI_SECRET_OPENAI_API_KEY "" /* SiliconFlow (硅基流动, OpenAI-compatible) */ #define MIMI_SECRET_SILICONFLOW_API_KEY "" #define MIMI_SECRET_SILICONFLOW_BASE_URL "https://api.siliconflow.cn/v1" /* Volcengine (火山引擎/豆包, OpenAI-compatible) */ #define MIMI_SECRET_VOLCENGINE_API_KEY "" #define MIMI_SECRET_VOLCENGINE_BASE_URL "https://ark.cn-beijing.volces.com/api/v3" /* HTTP Proxy (leave empty or set both) */ #define MIMI_SECRET_PROXY_HOST "" #define MIMI_SECRET_PROXY_PORT "" #define MIMI_SECRET_PROXY_TYPE "" /* "http" or "socks5" */ /* Brave Search API */ #define MIMI_SECRET_SEARCH_KEY "" /* Tavily Search API */ #define MIMI_SECRET_TAVILY_KEY ""